Mercurial > hg > octave-nkf > gnulib-hg
changeset 4378:91433623b923
Don't declare xmalloc explicitly.
Instead, include "xalloc.h".
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 07 Jun 2003 10:19:12 +0000 |
parents | fcdb31846b5f |
children | 32029793aac7 |
files | lib/stat.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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'