summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-10-25 22:03:20 +0000
committerJim Meyering <jim@meyering.net>1997-10-25 22:03:20 +0000
commitb3ab88e9707c43617efb5f85fd90de2f39bce6a6 (patch)
treecf9eddc67452f7e9542090ed09d37fb0082ccb2d /src
parente2609be24831bb21b25cce09f3a0b3674287dfc0 (diff)
downloadcoreutils-b3ab88e9707c43617efb5f85fd90de2f39bce6a6.tar.xz
Remove old-style xmalloc and xrealloc decls.
Diffstat (limited to 'src')
-rw-r--r--src/date.c2
-rw-r--r--src/expr.c1
-rw-r--r--src/id.c3
-rw-r--r--src/pinky.c1
-rw-r--r--src/printf.c2
-rw-r--r--src/su.c2
-rw-r--r--src/tee.c1
-rw-r--r--src/test.c2
-rw-r--r--src/users.c2
-rw-r--r--src/who.c1
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));
diff --git a/src/id.c b/src/id.c
index 1b9a19db4..08a236c1e 100644
--- 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));
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;
diff --git a/src/su.c b/src/su.c
index c0110942a..108d06239 100644
--- 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;
diff --git a/src/tee.c b/src/tee.c
index a3de574f8..38fed6e34 100644
--- 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));
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;
diff --git a/src/who.c b/src/who.c
index ff2f9f4ad..33fed28c3 100644
--- 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;