From 271fd958bb1578e099ae26f34ab2fc0d27a44a6d Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 22 Nov 2000 02:23:40 +0000 Subject: [PATCH] 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 --- gcc/fixinc/fixfixes.c | 2 +- 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 e1fd36b7873..a30f7b766ac 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 7a057f65ee6..4e45dc1dd54 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;