Don't declare xmalloc explicitly.
authorJim Meyering <jim@meyering.net>
Sat, 7 Jun 2003 10:19:12 +0000 (10:19 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 7 Jun 2003 10:19:12 +0000 (10:19 +0000)
Instead, include "xalloc.h".

lib/stat.c

index f3f373b9583f2b03b2955076e07f9f85c02684e3..3f77562be9f30eac62ba5240607100d8cf43241c 100644 (file)
@@ -1,7 +1,7 @@
 /* Work around the bug in some systems whereby stat/lstat succeeds when
    given the zero-length file name argument.  The stat/lstat from SunOS4.1.4
    has this bug.
-   Copyright (C) 1997-2002 Free Software Foundation, Inc.
+   Copyright (C) 1997-2003 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
@@ -53,7 +53,7 @@ extern int errno;
 void free ();
 # endif
 
-char *xmalloc ();
+# include "xalloc.h"
 
 /* lstat works differently on Linux and Solaris systems.  POSIX (see
    `pathname resolution' in the glossary) requires that programs like `ls'