summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-09-26 19:01:12 +0000
committerJim Meyering <jim@meyering.net>1999-09-26 19:01:12 +0000
commit168676d418d5b6bb425d25d15f3c6bb965f6b4fe (patch)
tree1704c3b294b2141d4f5ad3de3c6bc674dbcc41a6
parent825a182517bfd5118ad646b4625bec48e13f5417 (diff)
downloadcoreutils-168676d418d5b6bb425d25d15f3c6bb965f6b4fe.tar.xz
small correction from Akim
-rw-r--r--lib/xalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xalloc.h b/lib/xalloc.h
index 063c3a164..f75c3cdd7 100644
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -41,7 +41,7 @@ extern int xalloc_exit_failure;
/* If this pointer is non-zero, run the specified function upon each
allocation failure. It is initialized to zero. */
-extern void (*xalloc_fail_func) PARAMS ((void)) ATTRIBUTE_NORETURN;
+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.
@@ -52,7 +52,7 @@ extern char *const xalloc_msg_memory_exhausted;
in charge of honoring the three previous items. This is the
function to call when one wants the program to die because of a
memory allocation failure. */
-extern void xalloc_die PARAMS ((void));
+extern void xalloc_die PARAMS ((void)) ATTRIBUTE_NORETURN;
void *xmalloc PARAMS ((size_t n));
void *xcalloc PARAMS ((size_t n, size_t s));