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/make-docfile.c | |
parent | 696056c280e0e4a03e12d8d53f692c015ff19217 (diff) |
Switch from NO_RETURN to C11's _Noreturn.
Fixes: debbugs:11750
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r-- | lib-src/make-docfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 4f68fdb78c..8156db9b73 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -76,7 +76,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ static int scan_file (char *filename); static int scan_lisp_file (const char *filename, const char *mode); static int scan_c_file (char *filename, const char *mode); -static void fatal (const char *s1, const char *s2) NO_RETURN; static void start_globals (void); static void write_globals (void); @@ -111,7 +110,7 @@ error (const char *s1, const char *s2) /* Print error message and exit. */ /* VARARGS1 */ -static void +static _Noreturn void fatal (const char *s1, const char *s2) { error (s1, s2); |