4
0
Эх сурвалжийг харах

(xalloc_msg_memory_exhausted): change to array from char *.

Paul Eggert 24 жил өмнө
parent
commit
9a742c498f
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  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