]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove old-style xmalloc and xrealloc decls.
authorJim Meyering <jim@meyering.net>
Sat, 25 Oct 1997 22:03:20 +0000 (22:03 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 25 Oct 1997 22:03:20 +0000 (22:03 +0000)
src/date.c
src/expr.c
src/id.c
src/pinky.c
src/printf.c
src/su.c
src/tee.c
src/test.c
src/users.c
src/who.c

index 205ce64204e3a8c009b3d741033b8f0f8297c913..3d88a0edd424b73a17bb7a6348ef96dd5ecdc40b 100644 (file)
@@ -36,8 +36,6 @@ time_t time ();
 int putenv ();
 int stime ();
 
-char *xrealloc ();
-char *xmalloc ();
 char *xstrdup ();
 time_t posixtime ();
 
index 2a9395a8faa1377bc67aab494d8a5df9e611a24f..995d28ee95bf3749b9fe043ef3f46b12c53039e4 100644 (file)
@@ -71,7 +71,6 @@ static char **args;
 char *program_name;
 
 char *xstrdup ();
-char *xmalloc ();
 
 static VALUE *docolon __P ((VALUE *sv, VALUE *pv));
 static VALUE *eval __P ((void));
index 1b9a19db4caeb74d4c6580812c295cbf967ab911..08a236c1ebbc500ba55199385c6886230aa65700 100644 (file)
--- a/src/id.c
+++ b/src/id.c
@@ -1,5 +1,5 @@
 /* id -- print real and effective UIDs and GIDs
-   Copyright (C) 1989-1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1989-1995, 1996, 1997 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -42,7 +42,6 @@ gid_t getegid ();
 # include <sys/param.h>
 #endif /* not _POSIX_VERSION */
 
-char *xmalloc ();
 int getugroups ();
 
 static void print_user __P ((int uid));
index 491e856c1732e72aea3df9c0c3ed0fb52ba32f51..db230bf0b98212b5e7a4691e27c8ae8f8a6455de 100644 (file)
@@ -35,7 +35,6 @@
 
 int gethostname ();
 char *ttyname ();
-char *xmalloc ();
 
 /* The name this program was run with. */
 const char *program_name;
index 2ffedd06237500eb6664b36509800d5a07c22ba9..c86108c9e5a90ba649f249ec324769c0b28516e4 100644 (file)
@@ -63,8 +63,6 @@ unsigned long int strtoul ();
                     (c) >= 'A' && (c) <= 'F' ? (c) - 'A' + 10 : (c) - '0')
 #define octtobin(c) ((c) - '0')
 
-char *xmalloc ();
-
 /* The value to return to the calling program.  */
 static int exit_status;
 
index c0110942aef9601a9fb9cf7166e4d4a5a4885987..108d06239d32caa700ade42a59639edfdbd6b262 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -147,8 +147,6 @@ void endusershell ();
 void setusershell ();
 
 char *base_name ();
-char *xmalloc ();
-char *xrealloc ();
 char *xstrdup ();
 
 extern char **environ;
index a3de574f86e158f20c07c6d9603ab2e6d76dfe38..38fed6e3406f8934069b4c973444a08f94096667 100644 (file)
--- a/src/tee.c
+++ b/src/tee.c
@@ -26,7 +26,6 @@
 #include "system.h"
 #include "error.h"
 
-char *xmalloc ();
 int full_write ();
 
 static int tee __P ((int nfiles, const char **files));
index 93a3df48d328e0031e134d0041bf8b3a3dc78a6e..11a777ae5e0a21ae5bfc37e1bbe51028e4f5cbb3 100644 (file)
@@ -102,8 +102,6 @@ extern uid_t geteuid ();
 # define test_exit(val) test_error_return = val, longjmp (test_exit_buf, 1)
 #endif /* !TEST_STANDALONE */
 
-char *xrealloc ();
-
 static int pos;                /* The offset of the current argument in ARGV. */
 static int argc;       /* The number of arguments present in ARGV. */
 static char **argv;    /* The argument list. */
index a3d6d7bf664801d6a02f6141c7e36193732d8507..a9691bc38ff5390914e918492d405280d5b8620b 100644 (file)
@@ -24,8 +24,6 @@
 #include "error.h"
 #include "readutmp.h"
 
-char *xmalloc ();
-
 /* The name this program was run with. */
 char *program_name;
 
index ff2f9f4adc94e7d3d8a6a106cca655167fa2a74e..33fed28c3c6ba84989a93ca3662fe658228a6e0c 100644 (file)
--- a/src/who.c
+++ b/src/who.c
@@ -41,7 +41,6 @@
 
 int gethostname ();
 char *ttyname ();
-char *xmalloc ();
 
 /* The name this program was run with. */
 char *program_name;