summaryrefslogtreecommitdiffstats
path: root/src/lid.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-30 09:02:25 +0200
committerJim Meyering <meyering@redhat.com>2009-04-30 09:02:25 +0200
commitee73b13b1459785a9a74044efcce9ce88ec33c3b (patch)
treeafcf1afc6fcc721f180a78e9890a3b2b220af747 /src/lid.c
parente05f6890eda248aedea0681a120bf1a05d8bf6ec (diff)
downloadidutils-ee73b13b1459785a9a74044efcce9ce88ec33c3b.tar.gz
idutils-ee73b13b1459785a9a74044efcce9ce88ec33c3b.tar.bz2
idutils-ee73b13b1459785a9a74044efcce9ce88ec33c3b.zip
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.
Diffstat (limited to 'src/lid.c')
-rw-r--r--src/lid.c2
1 files changed, 1 insertions, 1 deletions
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);