mirror of
git://git.sv.gnu.org/coreutils
synced 2026-05-31 04:48:09 -04:00
Remove old-style xmalloc and xrealloc decls.
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
#undef max
|
||||
#define max(h,i) ((h) > (i) ? (h) : (i))
|
||||
|
||||
char *xmalloc ();
|
||||
int full_write ();
|
||||
int safe_read ();
|
||||
|
||||
|
||||
@@ -42,9 +42,6 @@
|
||||
#include "xstrtol.h"
|
||||
#include "error.h"
|
||||
|
||||
char *xrealloc ();
|
||||
char *xmalloc ();
|
||||
|
||||
/* The name this program was run with. */
|
||||
char *program_name;
|
||||
|
||||
|
||||
@@ -54,9 +54,6 @@
|
||||
|
||||
#define join system_join
|
||||
|
||||
char *xmalloc ();
|
||||
char *xrealloc ();
|
||||
|
||||
/* Undefine, to avoid warning about redefinition on some systems. */
|
||||
#undef min
|
||||
#undef max
|
||||
|
||||
@@ -92,8 +92,6 @@ static const struct option long_options[] =
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
char *xmalloc ();
|
||||
|
||||
static void
|
||||
usage (int status)
|
||||
{
|
||||
|
||||
@@ -70,9 +70,6 @@ enum section
|
||||
Header, Body, Footer, Text
|
||||
};
|
||||
|
||||
char *xmalloc ();
|
||||
char *xrealloc ();
|
||||
|
||||
/* The name this program was run with. */
|
||||
char *program_name;
|
||||
|
||||
|
||||
@@ -182,9 +182,6 @@
|
||||
# include <limits.h>
|
||||
#endif
|
||||
|
||||
char *xmalloc ();
|
||||
char *xrealloc ();
|
||||
|
||||
#ifndef UINT_MAX
|
||||
# define UINT_MAX ((unsigned int) ~(unsigned int) 0)
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include "error.h"
|
||||
#include "xstrtol.h"
|
||||
|
||||
char *xmalloc ();
|
||||
int full_write ();
|
||||
int safe_read ();
|
||||
|
||||
|
||||
@@ -59,10 +59,7 @@ tac -r -s '.\|
|
||||
#define WRITESIZE 8192
|
||||
|
||||
char *mktemp ();
|
||||
|
||||
int safe_read ();
|
||||
char *xmalloc ();
|
||||
char *xrealloc ();
|
||||
|
||||
/* The name this program was run with. */
|
||||
char *program_name;
|
||||
|
||||
@@ -119,7 +119,6 @@ enum header_mode
|
||||
multiple_files, always, never
|
||||
};
|
||||
|
||||
char *xmalloc ();
|
||||
int safe_read ();
|
||||
|
||||
/* The name this program was run with. */
|
||||
|
||||
Reference in New Issue
Block a user