(xalloc_msg_memory_exhausted): Now char const[],
authorJim Meyering <jim@meyering.net>
Mon, 7 Aug 2000 17:02:15 +0000 (17:02 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 7 Aug 2000 17:02:15 +0000 (17:02 +0000)
not char *const and pointing to a constant array.

lib/xalloc.h

index 8668e19..b6b525d 100644 (file)
@@ -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