diff options
author | Mike Stump <mrs@gcc.gnu.org> | 2000-11-22 02:23:40 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2000-11-22 02:23:40 +0000 |
commit | 271fd958bb1578e099ae26f34ab2fc0d27a44a6d (patch) | |
tree | 87e2ee44abb5cf7f9882251904681c7edd448d80 /gcc | |
parent | 19322a5c4146a51ba1966dfa399810312a9ab02e (diff) | |
download | gcc-271fd958bb1578e099ae26f34ab2fc0d27a44a6d.zip gcc-271fd958bb1578e099ae26f34ab2fc0d27a44a6d.tar.gz gcc-271fd958bb1578e099ae26f34ab2fc0d27a44a6d.tar.bz2 |
fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow compilation with older compilers, such as /bin/cc on SunOS.
* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
compilation with older compilers, such as /bin/cc on SunOS.
* fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
Fix one problem with bootstrap on SunOS 4.1.4 system.
From-SVN: r37641
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fixinc/fixfixes.c | 2 | ||||
-rw-r--r-- | gcc/fixinc/fixtests.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixinc/fixfixes.c b/gcc/fixinc/fixfixes.c index e1fd36b..a30f7b7 100644 --- a/gcc/fixinc/fixfixes.c +++ b/gcc/fixinc/fixfixes.c @@ -82,7 +82,7 @@ typedef struct { #define FIX_PROC_HEAD( fix ) \ -static t_fix_proc fix; /* avoid warning */ \ +static void fix PARAMS ((const char *, const char *, tFixDesc *)); /* avoid warning */ \ static void fix ( filname, text, p_fixd ) \ const char* filname; \ const char* text; \ diff --git a/gcc/fixinc/fixtests.c b/gcc/fixinc/fixtests.c index 7a057f6..4e45dc1 100644 --- a/gcc/fixinc/fixtests.c +++ b/gcc/fixinc/fixtests.c @@ -58,7 +58,7 @@ typedef struct { _FT_( "machine_name", machine_name_test ) #define TEST_FOR_FIX_PROC_HEAD( test ) \ -t_test_proc test; /* avoid warning */ \ +apply_fix_p_t test PARAMS(( tCC* file, tCC* text )); /* avoid warning */ \ static apply_fix_p_t test ( fname, text ) \ tCC* fname; \ tCC* text; |