[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/19] * lib/xalloc-die.c (xalloc_die): Modernize comment.
From: |
Paul Eggert |
Subject: |
[PATCH 12/19] * lib/xalloc-die.c (xalloc_die): Modernize comment. |
Date: |
Sun, 10 Jul 2011 22:25:32 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 |
---
ChangeLog | 2 ++
lib/xalloc-die.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 47a5313..c16d917 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-07-10 Paul Eggert <address@hidden>
+ * 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 aba4a06..80b4194 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). */
--
1.7.4.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 12/19] * lib/xalloc-die.c (xalloc_die): Modernize comment.,
Paul Eggert <=