mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 18:26:32 +02:00
Remove old-style xmalloc and xrealloc decls.
This commit is contained in:
@@ -36,8 +36,6 @@ time_t time ();
|
||||
int putenv ();
|
||||
int stime ();
|
||||
|
||||
char *xrealloc ();
|
||||
char *xmalloc ();
|
||||
char *xstrdup ();
|
||||
time_t posixtime ();
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
3
src/id.c
3
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));
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
|
||||
int gethostname ();
|
||||
char *ttyname ();
|
||||
char *xmalloc ();
|
||||
|
||||
/* The name this program was run with. */
|
||||
const char *program_name;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
2
src/su.c
2
src/su.c
@@ -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));
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
#include "error.h"
|
||||
#include "readutmp.h"
|
||||
|
||||
char *xmalloc ();
|
||||
|
||||
/* The name this program was run with. */
|
||||
char *program_name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user