aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/tests
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2000-06-17 19:54:04 +0000
committerBruce Korb <korbb@gcc.gnu.org>2000-06-17 19:54:04 +0000
commitc77b484a745d6f391edca1bfb69a0745155dd88d (patch)
tree7f8a64ce6de6358adbf15e63497bf05a075d9b51 /gcc/fixinc/tests
parent26816187481dbc8257962364df4c4c09fe8a8854 (diff)
downloadgcc-c77b484a745d6f391edca1bfb69a0745155dd88d.zip
gcc-c77b484a745d6f391edca1bfb69a0745155dd88d.tar.gz
gcc-c77b484a745d6f391edca1bfb69a0745155dd88d.tar.bz2
modified make check test output
From-SVN: r34585
Diffstat (limited to 'gcc/fixinc/tests')
-rw-r--r--gcc/fixinc/tests/base/X11/ShellP.h2
-rw-r--r--gcc/fixinc/tests/base/math.h3
-rw-r--r--gcc/fixinc/tests/base/strings.h11
-rw-r--r--gcc/fixinc/tests/base/sys/file.h2
-rw-r--r--gcc/fixinc/tests/base/sys/limits.h12
-rw-r--r--gcc/fixinc/tests/base/sys/stat.h13
-rw-r--r--gcc/fixinc/tests/base/testing.h5
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 a89992b..015aec3 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 38d0539..f71259b 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 218f018..c73dfc0 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 b56d881..9fb5765 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 273b467..b9288ba 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 d29e457..1315de0 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 4af48a5..06dffa9 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 */