diff options
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; |