mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Include "xalloc.h" first, to check interface.
Include <stdlib.h> unconditionally. Include exit.h. (EXIT_FAILURE): Remove; now done by exit.h
This commit is contained in:
1 parent
ea2c919bf2
commit
6305639766
1 file changed
+3
-14
+3
-14
@@ -21,28 +21,17 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "xalloc.h"
|
||||
|
||||
#if STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
#else
|
||||
void *calloc ();
|
||||
void *malloc ();
|
||||
void *realloc ();
|
||||
void free ();
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gettext.h"
|
||||
#define _(msgid) gettext (msgid)
|
||||
#define N_(msgid) msgid
|
||||
|
||||
#include "error.h"
|
||||
#include "exit.h"
|
||||
#include "exitfail.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef EXIT_FAILURE
|
||||
# define EXIT_FAILURE 1
|
||||
#endif
|
||||
|
||||
/* The following tests require AC_PREREQ(2.54). */
|
||||
|
||||
|
||||
Reference in new issue
Block a user