From: Paul Eggert Date: Tue, 12 Jul 2011 08:08:27 +0000 (-0700) Subject: * lib/xalloc-die.c (xalloc_die): Modernize comment. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4dd1df2d3794089cf6a85982333218d8e2393de;p=pspp * lib/xalloc-die.c (xalloc_die): Modernize comment. --- diff --git a/ChangeLog b/ChangeLog index ca9efc08d3..9127980f52 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-07-12 Paul Eggert + * lib/xalloc-die.c (xalloc_die): Modernize comment. + * lib/glthread/thread.h: Modernize comment. obstack: use _Noreturn diff --git a/lib/xalloc-die.c b/lib/xalloc-die.c index aba4a068d0..80b4194345 100644 --- a/lib/xalloc-die.c +++ b/lib/xalloc-die.c @@ -33,7 +33,7 @@ xalloc_die (void) { error (exit_failure, 0, "%s", _("memory exhausted")); - /* The `noreturn' cannot be given to error, since it may return if + /* _Noreturn cannot be given to error, since it may return if its first argument is 0. To help compilers understand the xalloc_die does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */