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 /src/search.c | |
parent | 696056c280e0e4a03e12d8d53f692c015ff19217 (diff) | |
download | emacs-845ca893904e4664063cb5c121b34925386849f7.tar.gz |
Switch from NO_RETURN to C11's _Noreturn.
Fixes: debbugs:11750
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c index 71ab60d9f85..4912c0f23ec 100644 --- a/src/search.c +++ b/src/search.c @@ -101,9 +101,8 @@ static EMACS_INT boyer_moore (EMACS_INT, unsigned char *, ptrdiff_t, static EMACS_INT search_buffer (Lisp_Object, ptrdiff_t, ptrdiff_t, ptrdiff_t, ptrdiff_t, EMACS_INT, int, Lisp_Object, Lisp_Object, int); -static void matcher_overflow (void) NO_RETURN; -static void +static _Noreturn void matcher_overflow (void) { error ("Stack overflow in regexp matcher"); |