diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-25 22:03:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-25 22:03:55 +0000 |
commit | df445b0891eda678c9cdf511277a5d5c524f1404 (patch) | |
tree | 2015d7957276fa005137574c1a9ebf92837a0136 /src/ls.c | |
parent | b3ab88e9707c43617efb5f85fd90de2f39bce6a6 (diff) | |
download | coreutils-df445b0891eda678c9cdf511277a5d5c524f1404.tar.xz |
Remove old-style xmalloc and xrealloc decls.
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -148,8 +148,6 @@ char *getgroup (); char *getuser (); void strip_trailing_slashes (); char *xstrdup (); -char *xmalloc (); -char *xrealloc (); void invalid_arg (); static char *make_link_path __P ((const char *path, const char *linkname)); @@ -1641,7 +1639,8 @@ gobble_file (const char *name, int explicit_arg, const char *dirname) if (files_index == nfiles) { nfiles *= 2; - files = (struct fileinfo *) xrealloc (files, sizeof (*files) * nfiles); + files = (struct fileinfo *) xrealloc ((char *) files, + sizeof (*files) * nfiles); } files[files_index].linkname = 0; |