]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove old-style xmalloc and xrealloc decls.
authorJim Meyering <jim@meyering.net>
Sat, 25 Oct 1997 04:45:43 +0000 (04:45 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 25 Oct 1997 04:45:43 +0000 (04:45 +0000)
src/cat.c
src/fold.c
src/join.c
src/md5sum.c
src/nl.c
src/pr.c
src/split.c
src/tac.c
src/tail.c
src/tr.c

index 8dc98e2ed6715fd17bb3bbe37a4902a97c263c2c..e5cd91174a73177b767b4e998d47fe153da868d9 100644 (file)
--- 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 ();
 
index 95ec90141b5077a171635ff2e500e11c96292b08..cb65477588b1ec165e0c48c4110e61af49895f85 100644 (file)
@@ -42,9 +42,6 @@
 #include "xstrtol.h"
 #include "error.h"
 
-char *xrealloc ();
-char *xmalloc ();
-
 /* The name this program was run with. */
 char *program_name;
 
index f2cb04c86f3ab032d0c7bae45ce74911415b09d8..2b0e8c0d1a71e53d47476c9fa51f16f55e5e9593 100644 (file)
@@ -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
index 47891ef461c3d1fb5698bcb4eb32dd9940256c2b..11cd0c1faf0052d2a282542f2e8758b3f9939e96 100644 (file)
@@ -92,8 +92,6 @@ static const struct option long_options[] =
   { NULL, 0, NULL, 0 }
 };
 
-char *xmalloc ();
-
 static void
 usage (int status)
 {
index 3c437c4ceca09d3de7563f105298ff629501baca..ae48da482700d399b851b37855793840c1fee586 100644 (file)
--- 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;
 
index c30be67bc614c7b8e7f85d22678d0e9c99987cd8..ba661b66efe7639c1d020d17442c8fc528727fab 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
 # include <limits.h>
 #endif
 
-char *xmalloc ();
-char *xrealloc ();
-
 #ifndef UINT_MAX
 # define UINT_MAX ((unsigned int) ~(unsigned int) 0)
 #endif
index eb685d674805235ec3fe5457a82b72ccc5055bee..4f2c3db70f765b9b8e1779792c3bf76fc17d21d5 100644 (file)
@@ -43,7 +43,6 @@
 #include "error.h"
 #include "xstrtol.h"
 
-char *xmalloc ();
 int full_write ();
 int safe_read ();
 
index 8a2cf674003b6776c6bfa39a7357ae3297e77252..2ff2f7f1bc4bbe2b8c499d58a8059effb96b2ac0 100644 (file)
--- 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;
index 51cf1ee0f230b5ca5a563bdcac04cea01ee15e1e..d985cc5ab733773901762d1d27a1c7b77e1458b8 100644 (file)
@@ -119,7 +119,6 @@ enum header_mode
   multiple_files, always, never
 };
 
-char *xmalloc ();
 int safe_read ();
 
 /* The name this program was run with.  */
index 5f102a5b4f342836b27c2c331c0dc0eeff952df6..bf10aac078ac6509349997b50afd2387717bb7af 100644 (file)
--- 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.  */