HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch from NO_RETURN to C11's _Noreturn.
[bpt/emacs.git]
/
src
/
undo.c
diff --git
a/src/undo.c
b/src/undo.c
index
ae9025c
..
c4ef557
100644
(file)
--- a/
src/undo.c
+++ b/
src/undo.c
@@
-438,8
+438,8
@@
truncate_undo_list (struct buffer *b)
unbind_to (count, Qnil);
}
-static
void user_error (const char*) NO_RETURN;
-
static void
user_error (const char *msg)
+static
_Noreturn void
+user_error (const char *msg)
{
xsignal1 (Quser_error, build_string (msg));
}