projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use "exit.h" rather than rolling EXIT_FAILURE ourselves in each module.
[gnulib.git]
/
lib
/
xmalloc.c
diff --git
a/lib/xmalloc.c
b/lib/xmalloc.c
index
82980ea
..
3adf5dd
100644
(file)
--- a/
lib/xmalloc.c
+++ b/
lib/xmalloc.c
@@
-30,12
+30,9
@@
#define N_(msgid) msgid
#include "error.h"
+#include "exit.h"
#include "exitfail.h"
-#ifndef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
-
/* The following tests require AC_PREREQ(2.54). */
#ifndef HAVE_MALLOC