Explorar o código

(xalloc_msg_memory_exhausted): change to array from char *.

Paul Eggert %!s(int64=25) %!d(string=hai) anos
pai
achega
9a742c498f
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      lib/xalloc.h

+ 3 - 3
lib/xalloc.h

@@ -46,9 +46,9 @@ extern int xalloc_exit_failure;
 extern void (*xalloc_fail_func) PARAMS ((void));
 extern void (*xalloc_fail_func) PARAMS ((void));
 
 
 /* If XALLOC_FAIL_FUNC is undefined or a function that returns, this
 /* 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
 /* This function is always triggered when memory is exhausted.  It is
    in charge of honoring the three previous items.  This is the
    in charge of honoring the three previous items.  This is the