diff options
author | Jim Meyering <meyering@redhat.com> | 2009-04-30 09:02:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-04-30 09:02:25 +0200 |
commit | ee73b13b1459785a9a74044efcce9ce88ec33c3b (patch) | |
tree | afcf1afc6fcc721f180a78e9890a3b2b220af747 /src/fid.c | |
parent | e05f6890eda248aedea0681a120bf1a05d8bf6ec (diff) | |
download | idutils-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/fid.c')
-rw-r--r-- | src/fid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* fid.c -- list all tokens in the given file(s) - Copyright (C) 1986, 1995, 1996, 2008 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 2008, 2009 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -38,7 +38,7 @@ static int get_file_index (char *file_name); static int is_hit (unsigned char const *hits, int file_number); static int is_hit_1 (unsigned char const **hits, int level, int file_number); static void skip_hits (unsigned char const **hits, int level); -void usage (void); +void usage (void) __attribute__((__noreturn__)); struct idhead idh; static int tree8_levels; |