diff lib/xalloc.h @ 2811:a3217eb32838

(xalloc_msg_memory_exhausted): Now char const[], not char *const and pointing to a constant array.
author Jim Meyering <jim@meyering.net>
date Mon, 07 Aug 2000 17:02:15 +0000 (2000-08-07)
parents 807294ed0f4f
children 9a8154387249
line wrap: on
line diff
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -46,9 +46,9 @@
 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