aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/stdlib.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gcc.gnu.org>2004-08-31 09:27:00 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2004-08-31 09:27:00 +0000
commit71b5d516bc6cd5fc865ac560e4bea70607207272 (patch)
treee19ddbe1d510ce04084d29a56d22cd1051cc1767 /fixincludes/tests/base/stdlib.h
parentf7b0fb680c62cc0e246909ec8be88c10e85e3d69 (diff)
downloadgcc-71b5d516bc6cd5fc865ac560e4bea70607207272.zip
gcc-71b5d516bc6cd5fc865ac560e4bea70607207272.tar.gz
gcc-71b5d516bc6cd5fc865ac560e4bea70607207272.tar.bz2
Made fixincludes a toplevel build module.
toplevel: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (build_modules): Add fixincludes. (dependencies): Make gcc depend on fixincludes. * configure.in (build_tools): Add fixincludes. (build_configdirs): Always include build_libs. * Makefile.in: Regenerate. * configure: Regenerate. contrib: 2004-08-04 Paolo Bonzini <bonzini@gnu.org> * gcc_update: Add fixincludes. fixincludes: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * .cvsignore: New. * Makefile.in: From gcc/fixinc/Makefile.in, making it fully autoconfiscated. * configure.ac: New. * config.h.in: Generate. * configure: Generate. * aclocal.m4: New. * fixlib.h: Remove inclusions of gcc files. * system.h: New. Other files copied from gcc/fixinc. gcc: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (build_subdir): New substitution. (fixinc.sh): Simplify heavily since fixincludes is already built. (stmp-fixinc): Depend on specs.ready. (install-mkheaders): Use new location of fixincludes. (clean): Do not descend into fixinc. (FORBUILD): Replace with ../$(build_subdir). * configure.ac (build_subdir): Substitute. (FORBUILD): Do not set. (all_outputs): Remove fixinc/Makefile. (default commands): Do not create links in fixinc. * mkfixinc.sh: New, from fixinc/mkfixinc.sh without the fixincludes configuration steps and substituting @FIXINCL@ in fixinc.in. * fixinc.in: New, from fixinc/fixincl.sh. * fixinc/*: Removed. From-SVN: r86824
Diffstat (limited to 'fixincludes/tests/base/stdlib.h')
-rw-r--r--fixincludes/tests/base/stdlib.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/fixincludes/tests/base/stdlib.h b/fixincludes/tests/base/stdlib.h
new file mode 100644
index 0000000..0e1e59c
--- /dev/null
+++ b/fixincludes/tests/base/stdlib.h
@@ -0,0 +1,66 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/stdlib.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( HPUX11_ABS_CHECK )
+#if !defined(_MATH_INCLUDED) || defined(__GNUG__)
+#endif /* HPUX11_ABS_CHECK */
+
+
+#if defined( HPUX_LONG_DOUBLE_CHECK )
+extern long double strtold(const char *, char **);
+
+#endif /* HPUX_LONG_DOUBLE_CHECK */
+
+
+#if defined( INT_ABORT_FREE_AND_EXIT_CHECK )
+extern void abort(int);
+extern void free(void*);
+extern void exit(void*);
+#endif /* INT_ABORT_FREE_AND_EXIT_CHECK */
+
+
+#if defined( SVR4_GETCWD_CHECK )
+extern char* getcwd(char *, size_t);
+#endif /* SVR4_GETCWD_CHECK */
+
+
+#if defined( SVR4_PROFIL_CHECK )
+profil(unsigned short *, size_t, int, unsigned int);
+#endif /* SVR4_PROFIL_CHECK */
+
+
+#if defined( SYSZ_STDLIB_FOR_SUN_CHECK )
+extern void * calloc(size_t);
+extern void * malloc(size_t);
+extern void * realloc(void*,size_t);
+extern void * bsearch(void*,size_t,size_t);
+
+#endif /* SYSZ_STDLIB_FOR_SUN_CHECK */
+
+
+#if defined( ULTRIX_ATEXIT_PARAM_CHECK )
+int atexit( void (*__func)( void ) );
+
+#endif /* ULTRIX_ATEXIT_PARAM_CHECK */
+
+
+#if defined( ULTRIX_STDLIB_CHECK )
+@(#)stdlib.h 6.1 (ULTRIX)
+char * getenv( const char *__name );
+int setenv( const char *__name, const char *__val, int __ovrwrt );
+void unsetenv( const char *__name );
+int putenv( char *__s );
+char *getenv();
+int setenv();
+void unsetenv();
+int putenv();
+
+#endif /* ULTRIX_STDLIB_CHECK */