From f2607506fe9fc95dd5d5ea67fd91035b1c62302a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 12 Jul 2011 01:07:21 -0700 Subject: [PATCH] * lib/glthread/thread.h: Modernize comment. --- ChangeLog | 2 ++ lib/glthread/thread.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a8a00cadd5..ca9efc08d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-07-12 Paul Eggert + * lib/glthread/thread.h: Modernize comment. + obstack: use _Noreturn * lib/obstack.c (__attribute__): Remove macro. (print_and_abort): Use _Noreturn. diff --git a/lib/glthread/thread.h b/lib/glthread/thread.h index 2a819f9fab..3d7f7601d1 100644 --- a/lib/glthread/thread.h +++ b/lib/glthread/thread.h @@ -53,7 +53,7 @@ Terminating the current thread: gl_thread_exit (return_value); - extern void gl_thread_exit (void *return_value) __attribute__ ((noreturn)); + extern _Noreturn void gl_thread_exit (void *return_value); Requesting custom code to be executed at fork() time(not supported on all platforms): -- 2.30.2