summaryrefslogtreecommitdiff
path: root/lib/xalloc.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-07 17:02:15 +0000
committerJim Meyering <jim@meyering.net>2000-08-07 17:02:15 +0000
commit1def0627b7dd99bbbda1ec32dbaa38017110e030 (patch)
tree9a3d55d706588262ac196c2feac1b77343dcbc9f /lib/xalloc.h
parentcab29a570d601a5e11608939a5f58fad7ec8d109 (diff)
downloadcoreutils-1def0627b7dd99bbbda1ec32dbaa38017110e030.tar.xz
(xalloc_msg_memory_exhausted): Now char const[],
not char *const and pointing to a constant array.
Diffstat (limited to 'lib/xalloc.h')
-rw-r--r--lib/xalloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xalloc.h b/lib/xalloc.h
index 8668e198b..b6b525db3 100644
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -46,9 +46,9 @@ extern int xalloc_exit_failure;
extern void (*xalloc_fail_func) PARAMS ((void));
/* If XALLOC_FAIL_FUNC is undefined or a function that returns, this
- message must be non-NULL. It is translated via gettext.
- The default value is "Memory exhausted". */
-extern char *const xalloc_msg_memory_exhausted;
+ message is output. It is translated via gettext.
+ Its value is "memory exhausted". */
+extern char const xalloc_msg_memory_exhausted[];
/* This function is always triggered when memory is exhausted. It is
in charge of honoring the three previous items. This is the