From e211bb2affecdc42c294e789db30849a65f2d62c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 25 Oct 1997 04:45:43 +0000 Subject: Remove old-style xmalloc and xrealloc decls. --- src/cat.c | 1 - src/fold.c | 3 --- src/join.c | 3 --- src/md5sum.c | 2 -- src/nl.c | 3 --- src/pr.c | 3 --- src/split.c | 1 - src/tac.c | 3 --- src/tail.c | 1 - src/tr.c | 1 - 10 files changed, 21 deletions(-) (limited to 'src') diff --git a/src/cat.c b/src/cat.c index 8dc98e2ed..e5cd91174 100644 --- a/src/cat.c +++ b/src/cat.c @@ -37,7 +37,6 @@ #undef max #define max(h,i) ((h) > (i) ? (h) : (i)) -char *xmalloc (); int full_write (); int safe_read (); diff --git a/src/fold.c b/src/fold.c index 95ec90141..cb6547758 100644 --- a/src/fold.c +++ b/src/fold.c @@ -42,9 +42,6 @@ #include "xstrtol.h" #include "error.h" -char *xrealloc (); -char *xmalloc (); - /* The name this program was run with. */ char *program_name; diff --git a/src/join.c b/src/join.c index f2cb04c86..2b0e8c0d1 100644 --- a/src/join.c +++ b/src/join.c @@ -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 diff --git a/src/md5sum.c b/src/md5sum.c index 47891ef46..11cd0c1fa 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -92,8 +92,6 @@ static const struct option long_options[] = { NULL, 0, NULL, 0 } }; -char *xmalloc (); - static void usage (int status) { diff --git a/src/nl.c b/src/nl.c index 3c437c4ce..ae48da482 100644 --- a/src/nl.c +++ b/src/nl.c @@ -70,9 +70,6 @@ enum section Header, Body, Footer, Text }; -char *xmalloc (); -char *xrealloc (); - /* The name this program was run with. */ char *program_name; diff --git a/src/pr.c b/src/pr.c index c30be67bc..ba661b66e 100644 --- a/src/pr.c +++ b/src/pr.c @@ -182,9 +182,6 @@ # include #endif -char *xmalloc (); -char *xrealloc (); - #ifndef UINT_MAX # define UINT_MAX ((unsigned int) ~(unsigned int) 0) #endif diff --git a/src/split.c b/src/split.c index eb685d674..4f2c3db70 100644 --- a/src/split.c +++ b/src/split.c @@ -43,7 +43,6 @@ #include "error.h" #include "xstrtol.h" -char *xmalloc (); int full_write (); int safe_read (); diff --git a/src/tac.c b/src/tac.c index 8a2cf6740..2ff2f7f1b 100644 --- a/src/tac.c +++ b/src/tac.c @@ -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; diff --git a/src/tail.c b/src/tail.c index 51cf1ee0f..d985cc5ab 100644 --- a/src/tail.c +++ b/src/tail.c @@ -119,7 +119,6 @@ enum header_mode multiple_files, always, never }; -char *xmalloc (); int safe_read (); /* The name this program was run with. */ diff --git a/src/tr.c b/src/tr.c index 5f102a5b4..bf10aac07 100644 --- a/src/tr.c +++ b/src/tr.c @@ -229,7 +229,6 @@ struct E_string and is not escaped itself. */ #define ES_MATCH(ES, I, C) ((ES)->s[(I)] == (C) && !(ES)->escaped[(I)]) -char *xmalloc (); int safe_read (); /* The name by which this program was run. */ -- cgit v1.2.3-70-g09d2