From ee73b13b1459785a9a74044efcce9ce88ec33c3b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 30 Apr 2009 09:02:25 +0200 Subject: build: suppress more warnings * src/fid.c (usage): Declare with __noreturn__ attribute. * src/fnid.c (usage): Likewise. * src/lid.c (usage): Likewise. * src/mkid.c (usage): Likewise. * src/xtokid.c: (usage): Likewise. * src/mkid.c (sum_files): Remove unused macro. --- src/lid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lid.c') diff --git a/src/lid.c b/src/lid.c index f4e23b9..5519109 100644 --- a/src/lid.c +++ b/src/lid.c @@ -93,7 +93,7 @@ enum radix radix_all = radix_dec | radix_oct | radix_hex }; -void usage (void); +void usage (void) __attribute__((__noreturn__)); static void help_me (void); static void lower_caseify (char *str); static enum key_style parse_key_style (char const *arg); -- cgit v1.2.3