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/fid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fid.c') diff --git a/src/fid.c b/src/fid.c index 9fe583b..50dc9ac 100644 --- a/src/fid.c +++ b/src/fid.c @@ -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 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; -- cgit v1.2.3