diff options
-rw-r--r-- | src/fid.c | 4 | ||||
-rw-r--r-- | src/fnid.c | 5 | ||||
-rw-r--r-- | src/lid.c | 2 | ||||
-rw-r--r-- | src/mkid.c | 4 | ||||
-rw-r--r-- | src/xtokid.c | 4 |
5 files changed, 9 insertions, 10 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; @@ -1,5 +1,5 @@ /* fnid.c -- report which files constitute an ID database - Copyright (C) 1996, 2008 Free Software Foundation, Inc. + Copyright (C) 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 @@ -34,8 +34,6 @@ #include "iduglobal.h" #include "progname.h" -void usage (void); - static int show_version = 0; static int show_help = 0; static struct file_link *cw_dlink; @@ -46,6 +44,7 @@ struct idhead idh; static enum separator_style separator_style = ss_contextual; +void usage (void) __attribute__((__noreturn__)); void usage (void) { @@ -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); @@ -1,5 +1,5 @@ /* mkid.c -- build an identifer database - Copyright (C) 1986, 1995, 1996, 1999, 2007-2008 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2007-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 @@ -51,7 +51,6 @@ struct summary struct summary *u_kids[8]; /* when sum_level > 0 */ #define sum_kids sum_u.u_kids struct member_file *u_files[8]; /* when sum_level == 0 */ -#define sum_files sum_u.u_files } sum_u; unsigned long sum_tokens_size; unsigned long sum_hits_count; @@ -120,6 +119,7 @@ static int show_help = 0; struct idhead idh; static struct file_link *cw_dlink; +void usage (void) __attribute__((__noreturn__)); void usage (void) { diff --git a/src/xtokid.c b/src/xtokid.c index c45d5be..8f77980 100644 --- a/src/xtokid.c +++ b/src/xtokid.c @@ -1,5 +1,5 @@ /* idx.c -- simple interface for testing scanners scanners - Copyright (C) 1986, 1995, 1996, 1999, 2007-2008 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2007-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 @@ -35,7 +35,7 @@ static void scan_files (struct idhead *idhp); static void scan_member_file (struct member_file const *member); -void usage (void); +void usage (void) __attribute__((__noreturn__)); static char *lang_map_file_name = 0; static int show_version = 0; |