* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2000 02:23:40 +0000 (02:23 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2000 02:23:40 +0000 (02:23 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37641 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixinc/fixfixes.c
gcc/fixinc/fixtests.c

index e1fd36b..a30f7b7 100644 (file)
@@ -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;                           \
index 7a057f6..4e45dc1 100644 (file)
@@ -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;