xref: /openbsd-src/gnu/gcc/fixincludes/tests/base/stdlib.h (revision 404b540a9034ac75a6199ad1a32d1bbc7a0d4210)
1 /*  DO NOT EDIT THIS FILE.
2 
3     It has been auto-edited by fixincludes from:
4 
5 	"fixinc/tests/inc/stdlib.h"
6 
7     This had to be done to correct non-standard usages in the
8     original, manufacturer supplied header file.  */
9 
10 
11 
12 #if defined( HPUX11_ABS_CHECK )
13 #if !defined(_MATH_INCLUDED) || defined(__GNUG__)
14 #endif  /* HPUX11_ABS_CHECK */
15 
16 
17 #if defined( HPUX_LONG_DOUBLE_CHECK )
18 extern long double strtold(const char *, char **);
19 
20 #endif  /* HPUX_LONG_DOUBLE_CHECK */
21 
22 
23 #if defined( INT_ABORT_FREE_AND_EXIT_CHECK )
24 extern void	abort(int);
25 extern void	free(void*);
26 extern void	exit(void*);
27 #endif  /* INT_ABORT_FREE_AND_EXIT_CHECK */
28 
29 
30 #if defined( LYNXOS_MISSING_PUTENV_CHECK )
31 extern char *getenv	_AP((const char *));
32 extern int putenv				_AP((char *));
33 #endif  /* LYNXOS_MISSING_PUTENV_CHECK */
34 
35 
36 #if defined( SVR4_GETCWD_CHECK )
37 extern char* getcwd(char *, size_t);
38 #endif  /* SVR4_GETCWD_CHECK */
39 
40 
41 #if defined( SVR4_PROFIL_CHECK )
42 profil(unsigned short *, size_t, int, unsigned int);
43 #endif  /* SVR4_PROFIL_CHECK */
44 
45 
46 #if defined( SYSZ_STDLIB_FOR_SUN_CHECK )
47 extern void *	calloc(size_t);
48 extern void *	malloc(size_t);
49 extern void *	realloc(void*,size_t);
50 extern void *	bsearch(void*,size_t,size_t);
51 
52 #endif  /* SYSZ_STDLIB_FOR_SUN_CHECK */
53 
54 
55 #if defined( ULTRIX_ATEXIT_PARAM_CHECK )
56 int atexit( void (*__func)( void ) );
57 
58 #endif  /* ULTRIX_ATEXIT_PARAM_CHECK */
59 
60 
61 #if defined( ULTRIX_STDLIB_CHECK )
62 @(#)stdlib.h      6.1     (ULTRIX)
63 char *		getenv( const char *__name );
64 int		setenv( const char *__name, const char *__val, int __ovrwrt );
65 void		unsetenv( const char *__name );
66 int		putenv( char *__s );
67 char	*getenv();
68 int	setenv();
69 void	unsetenv();
70 int	putenv();
71 
72 #endif  /* ULTRIX_STDLIB_CHECK */
73