diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-25 22:03:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-25 22:03:20 +0000 |
commit | b3ab88e9707c43617efb5f85fd90de2f39bce6a6 (patch) | |
tree | cf9eddc67452f7e9542090ed09d37fb0082ccb2d | |
parent | e2609be24831bb21b25cce09f3a0b3674287dfc0 (diff) | |
download | coreutils-b3ab88e9707c43617efb5f85fd90de2f39bce6a6.tar.xz |
Remove old-style xmalloc and xrealloc decls.
-rw-r--r-- | src/date.c | 2 | ||||
-rw-r--r-- | src/expr.c | 1 | ||||
-rw-r--r-- | src/id.c | 3 | ||||
-rw-r--r-- | src/pinky.c | 1 | ||||
-rw-r--r-- | src/printf.c | 2 | ||||
-rw-r--r-- | src/su.c | 2 | ||||
-rw-r--r-- | src/tee.c | 1 | ||||
-rw-r--r-- | src/test.c | 2 | ||||
-rw-r--r-- | src/users.c | 2 | ||||
-rw-r--r-- | src/who.c | 1 |
10 files changed, 1 insertions, 16 deletions
diff --git a/src/date.c b/src/date.c index 205ce6420..3d88a0edd 100644 --- a/src/date.c +++ b/src/date.c @@ -36,8 +36,6 @@ time_t time (); int putenv (); int stime (); -char *xrealloc (); -char *xmalloc (); char *xstrdup (); time_t posixtime (); diff --git a/src/expr.c b/src/expr.c index 2a9395a8f..995d28ee9 100644 --- a/src/expr.c +++ b/src/expr.c @@ -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)); @@ -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)); diff --git a/src/pinky.c b/src/pinky.c index 491e856c1..db230bf0b 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -35,7 +35,6 @@ int gethostname (); char *ttyname (); -char *xmalloc (); /* The name this program was run with. */ const char *program_name; diff --git a/src/printf.c b/src/printf.c index 2ffedd062..c86108c9e 100644 --- a/src/printf.c +++ b/src/printf.c @@ -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; @@ -147,8 +147,6 @@ void endusershell (); void setusershell (); char *base_name (); -char *xmalloc (); -char *xrealloc (); char *xstrdup (); extern char **environ; @@ -26,7 +26,6 @@ #include "system.h" #include "error.h" -char *xmalloc (); int full_write (); static int tee __P ((int nfiles, const char **files)); diff --git a/src/test.c b/src/test.c index 93a3df48d..11a777ae5 100644 --- a/src/test.c +++ b/src/test.c @@ -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. */ diff --git a/src/users.c b/src/users.c index a3d6d7bf6..a9691bc38 100644 --- a/src/users.c +++ b/src/users.c @@ -24,8 +24,6 @@ #include "error.h" #include "readutmp.h" -char *xmalloc (); - /* The name this program was run with. */ char *program_name; @@ -41,7 +41,6 @@ int gethostname (); char *ttyname (); -char *xmalloc (); /* The name this program was run with. */ char *program_name; |