diff options
author | Alan Modra <amodra@gmail.com> | 2016-10-05 16:44:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-10-06 09:40:30 +1030 |
commit | 1e0f0b4d0191263e35d81a3670d56bf639be274a (patch) | |
tree | 28044a8a1465af050024a631369d532e8a8f162f /binutils/sysdump.c | |
parent | 2b804145796e948fa4c025c07eb201e700281e6b (diff) | |
download | gdb-1e0f0b4d0191263e35d81a3670d56bf639be274a.zip gdb-1e0f0b4d0191263e35d81a3670d56bf639be274a.tar.gz gdb-1e0f0b4d0191263e35d81a3670d56bf639be274a.tar.bz2 |
-Wimplicit-fallthrough noreturn fixes
binutils/
* cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
* elfedit.c (usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* srconv.c (show_usage): Likewise.
* strings.c (usage): Likewise.
* sysdump.c (show_usage): Likewise.
* srconv.c: Remove unneeded forward function declarations.
* strings.c: Likewise.
* sysdump.c: Likewise.
gas/
* as.h (as_assert): Add ATTRIBUTE_NORETURN.
Diffstat (limited to 'binutils/sysdump.c')
-rw-r--r-- | binutils/sysdump.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/binutils/sysdump.c b/binutils/sysdump.c index 37ad603..5976fac 100644 --- a/binutils/sysdump.c +++ b/binutils/sysdump.c @@ -38,21 +38,7 @@ static int code; static int addrsize = 4; static FILE *file; -static void dh (unsigned char *, int); -static void itheader (char *, int); -static void p (void); -static void tabout (void); -static void pbarray (barray *); -static int getone (int); -static int opt (int); -static void must (int); -static void tab (int, char *); -static void dump_symbol_info (void); static void derived_type (void); -static void module (void); -static void show_usage (FILE *, int); - -extern int main (int, char **); static char * getCHARS (unsigned char *ptr, int *idx, int size, int max) @@ -649,7 +635,7 @@ module (void) char *program_name; -static void +ATTRIBUTE_NORETURN static void show_usage (FILE *ffile, int status) { fprintf (ffile, _("Usage: %s [option(s)] in-file\n"), program_name); |