aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2001-07-17 03:02:52 +0000
committerBruce Korb <korbb@gcc.gnu.org>2001-07-17 03:02:52 +0000
commit551051563c00bd566842ce15f010e51aafb98dfe (patch)
tree0ec1c3534536efdd2ccc5a4ead251b20a6b2db71 /gcc/fixinc
parentf79ced717fee2e31787829fe9710fef790077583 (diff)
downloadgcc-551051563c00bd566842ce15f010e51aafb98dfe.zip
gcc-551051563c00bd566842ce15f010e51aafb98dfe.tar.gz
gcc-551051563c00bd566842ce15f010e51aafb98dfe.tar.bz2
HPUX-es vsnprintf and Ultrix-es atexit declaration
From-SVN: r44058
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/inclhack.def33
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 510bb79..21e8366 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -1244,6 +1244,24 @@ fix = {
/*
+ * Fix hpux 11.00 broken vsnprintf declaration
+ */
+fix = {
+ hackname = hpux11_vsnprintf;
+ files = stdio.h;
+ select = 'extern int vsnprintf\(char \*, __size_t, const char \*,'
+ ' __va__list\);';
+
+ c_fix = format;
+ c_fix_arg = "extern int vsnprintf(char *, __size_t, const char *,"
+ " __va_list);";
+
+ test_text = 'extern int vsnprintf(char *, __size_t, const char *,'
+ ' __va__list);';
+};
+
+
+/*
* get rid of bogus inline definitions in HP-UX 8.0
*/
fix = {
@@ -2869,6 +2887,21 @@ fix = {
/*
+ * function parameter to atexit is missing "void" on VAX Ultrix 4.3.
+ */
+fix = {
+ hackname = ultrix_atexit_param;
+ files = stdlib.h;
+ select = 'atexit\(.*\(\)';
+
+ c_fix = format;
+ c_fix_arg = "atexit( void (*__func)( void )";
+
+ test_text = "int atexit( void (*__func)() );\n";
+};
+
+
+/*
* parameter to atof not const on DECstation Ultrix V4.0 and NEWS-OS 4.2R.
*/
fix = {