# HG changeset patch # User Jim Meyering # Date 1054981152 0 # Node ID 91433623b92302f0e67ea372daf99299aa920880 # Parent fcdb31846b5f7407a6a10f1a7c15e91bb1d651f9 Don't declare xmalloc explicitly. Instead, include "xalloc.h". diff --git a/lib/stat.c b/lib/stat.c --- a/lib/stat.c +++ b/lib/stat.c @@ -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 @@ 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'