diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-06-24 10:39:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-06-24 10:39:14 -0700 |
commit | 845ca893904e4664063cb5c121b34925386849f7 (patch) | |
tree | 6d9798a0d167f9e6bb5a2a6dae21c83ad9eb9a74 /lib-src/ebrowse.c | |
parent | 696056c280e0e4a03e12d8d53f692c015ff19217 (diff) | |
download | emacs-845ca893904e4664063cb5c121b34925386849f7.tar.gz emacs-845ca893904e4664063cb5c121b34925386849f7.tar.bz2 emacs-845ca893904e4664063cb5c121b34925386849f7.zip |
Switch from NO_RETURN to C11's _Noreturn.
Fixes: debbugs:11750
Diffstat (limited to 'lib-src/ebrowse.c')
-rw-r--r-- | lib-src/ebrowse.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index a1fe10b863a..1c43bc6a4f1 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -463,10 +463,6 @@ static struct member *add_member (struct sym *, char *, int, int, unsigned); static void class_definition (struct sym *, int, int, int); static char *operator_name (int *); static void parse_qualified_param_ident_or_type (char **); -static void usage (int) NO_RETURN; -static void version (void) NO_RETURN; - - /*********************************************************************** Utilities @@ -3507,7 +3503,7 @@ Usage: ebrowse [options] {files}\n\ --version display version info\n\ " -static void +static _Noreturn void usage (int error) { puts (USAGE); @@ -3522,7 +3518,7 @@ usage (int error) # define VERSION "21" #endif -static void +static _Noreturn void version (void) { /* Makes it easier to update automatically. */ |