diff options
author | Richard Henderson <rth@redhat.com> | 2003-01-21 17:02:51 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-01-21 17:02:51 -0800 |
commit | 1c99d804eeb06044f5e7b3ff7b840a3570aa59c1 (patch) | |
tree | 845b96df5c1eb09fbf1a857272f510da30049ca8 /gcc/fixinc/fixfixes.c | |
parent | 44897a588a0bfc48d4850f98996fbc85390ccf90 (diff) | |
download | gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.zip gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.tar.gz gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.tar.bz2 |
dwarf2out.c (lookup_filename): Fix printf format warning.
* dwarf2out.c (lookup_filename): Fix printf format warning.
* system.h (fread_unlocked, fwrite_unlocked): Undef.
* fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
(fixincl.o-warn, gnu-regex.o-warn): New.
* fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
* fixinc/fixincl.c (process): Fix printf format warning.
From-SVN: r61584
Diffstat (limited to 'gcc/fixinc/fixfixes.c')
-rw-r--r-- | gcc/fixinc/fixfixes.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fixinc/fixfixes.c b/gcc/fixinc/fixfixes.c index 9c775b5..30466bb 100644 --- a/gcc/fixinc/fixfixes.c +++ b/gcc/fixinc/fixfixes.c @@ -73,12 +73,12 @@ typedef struct { _FT_( "gnu_type", gnu_type_fix ) -#define FIX_PROC_HEAD( fix ) \ -static void fix PARAMS ((const char *, const char *, tFixDesc *)); /* avoid warning */ \ -static void fix ( filname, text, p_fixd ) \ - const char* filname; \ - const char* text; \ - tFixDesc* p_fixd; +#define FIX_PROC_HEAD( fix ) \ +static void fix PARAMS ((const char *, const char *, tFixDesc *)); \ +static void fix ( filname, text, p_fixd ) \ + const char* filname ATTRIBUTE_UNUSED; \ + const char* text ATTRIBUTE_UNUSED; \ + tFixDesc* p_fixd ATTRIBUTE_UNUSED; #ifdef NEED_PRINT_QUOTE /* |