diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-17 19:54:04 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-17 19:54:04 +0000 |
commit | 3bbea996a262371c8a2d58f9549148d990644529 (patch) | |
tree | 7f8a64ce6de6358adbf15e63497bf05a075d9b51 /gcc/fixinc | |
parent | 49804c8071866365fcd3725aae6f2f5489613154 (diff) | |
download | gcc-3bbea996a262371c8a2d58f9549148d990644529.tar.gz |
modified make check test output
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/tests/base/X11/ShellP.h | 2 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/math.h | 3 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/strings.h | 11 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/sys/file.h | 2 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/sys/limits.h | 12 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/sys/stat.h | 13 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/testing.h | 5 |
7 files changed, 41 insertions, 7 deletions
diff --git a/gcc/fixinc/tests/base/X11/ShellP.h b/gcc/fixinc/tests/base/X11/ShellP.h index a89992b61ee..015aec3ae55 100644 --- a/gcc/fixinc/tests/base/X11/ShellP.h +++ b/gcc/fixinc/tests/base/X11/ShellP.h @@ -3,7 +3,7 @@ #if defined( X11_CLASS_CHECK ) struct { #ifdef __cplusplus - char *c_class; + char *c_class; #else char *class; #endif diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h index 38d0539408a..f71259b2404 100644 --- a/gcc/fixinc/tests/base/math.h +++ b/gcc/fixinc/tests/base/math.h @@ -95,7 +95,8 @@ extern int matherr(); #if defined( ULTRIX_ATOF_PARAM_CHECK ) -extern double atof( const char *); +extern double atof(const char *__nptr); + #endif /* ULTRIX_ATOF_PARAM_CHECK */ #ifdef __cplusplus #undef exception diff --git a/gcc/fixinc/tests/base/strings.h b/gcc/fixinc/tests/base/strings.h index 218f0187e8a..c73dfc02cf7 100644 --- a/gcc/fixinc/tests/base/strings.h +++ b/gcc/fixinc/tests/base/strings.h @@ -1,5 +1,16 @@ +#ifndef FIXINC_ULTRIX_STRINGS_CHECK +#define FIXINC_ULTRIX_STRINGS_CHECK 1 + #if defined( SUNOS_STRLEN_CHECK ) __SIZE_TYPE__ strlen(); /* string length */ #endif /* SUNOS_STRLEN_CHECK */ + + +#if defined( ULTRIX_STRINGS_CHECK ) +@(#)strings.h 6.1 (ULTRIX) + +#endif /* ULTRIX_STRINGS_CHECK */ + +#endif /* FIXINC_ULTRIX_STRINGS_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/file.h b/gcc/fixinc/tests/base/sys/file.h index b56d881413a..9fb57653b49 100644 --- a/gcc/fixinc/tests/base/sys/file.h +++ b/gcc/fixinc/tests/base/sys/file.h @@ -6,7 +6,7 @@ extern void foo(struct file *, ...); /* HPUX_SOURCE - bad varargs */ #if defined( ULTRIX_IFDEF_CHECK ) -#if defined(KERNEL) && defined( mumbojumbo ) +#if defined(KERNEL) && defined( mumbojumbo ) int oops; #endif #endif /* ULTRIX_IFDEF_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/limits.h b/gcc/fixinc/tests/base/sys/limits.h index 273b46790bd..b9288baef03 100644 --- a/gcc/fixinc/tests/base/sys/limits.h +++ b/gcc/fixinc/tests/base/sys/limits.h @@ -1,8 +1,20 @@ +#if defined( LIMITS_IFNDEFS_CHECK ) +#ifndef DBL_DIG + # define DBL_DIG 0 /* somthin' */ +#endif +#endif /* LIMITS_IFNDEFS_CHECK */ + + #if defined( NESTED_SYS_LIMITS_CHECK ) /* #define CHILD_MAX 20 Max, Max, ... */ /* #define OPEN_MAX 20 Max, Max, ... */ #endif /* NESTED_SYS_LIMITS_CHECK */ + + +#if defined( ULTRIX_MATH_IFDEF_CHECK ) +#if defined(__GFLOAT) +#endif /* ULTRIX_MATH_IFDEF_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/stat.h b/gcc/fixinc/tests/base/sys/stat.h index d29e4575a05..1315de03d31 100644 --- a/gcc/fixinc/tests/base/sys/stat.h +++ b/gcc/fixinc/tests/base/sys/stat.h @@ -39,6 +39,19 @@ static int stat(__f, __p) #endif /* SCO_STATIC_FUNC_CHECK */ +#if defined( ULTRIX_STAT_CHECK ) +@(#)stat.h 6.1 (ULTRIX) +#define S_IFPORT S_IFIFO + +/* macro to test for symbolic link */ +#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) + + fstat(), + lstat(), + +#endif /* ULTRIX_STAT_CHECK */ + + #if defined( VXWORKS_NEEDS_VXWORKS_CHECK ) #include </dev/null> /* ULONG */ # define __INCstath <sys/stat.h> diff --git a/gcc/fixinc/tests/base/testing.h b/gcc/fixinc/tests/base/testing.h index 4af48a53f2c..06dffa9c7f7 100644 --- a/gcc/fixinc/tests/base/testing.h +++ b/gcc/fixinc/tests/base/testing.h @@ -1,7 +1,6 @@ #if defined( CTRL_QUOTES_DEF_CHECK ) -#define BSD43_CTRL(n, x) ((n<<8)+x) #define _CTRL(c) (c&037) #endif /* CTRL_QUOTES_DEF_CHECK */ @@ -12,9 +11,7 @@ #if defined( IO_QUOTES_DEF_CHECK ) -#define BSD43__IOWR(n, x) ((n<<8)+x) -#define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y) -#define _IO(x,y) (x<<8|y) +#define XX_IO(x) (x<<8|256) #endif /* IO_QUOTES_DEF_CHECK */ |