summaryrefslogtreecommitdiff
path: root/lib/stat.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-07 10:19:12 +0000
committerJim Meyering <jim@meyering.net>2003-06-07 10:19:12 +0000
commitbbb2fa83e7cbf17ccb8ef522a3ded883840697f9 (patch)
tree295f3d2dbae93b8817827409b101cfdb87fdd8d4 /lib/stat.c
parentfef1e4aae11513bcf4c86a655c8a831f0e8d548d (diff)
downloadgnulib-bbb2fa83e7cbf17ccb8ef522a3ded883840697f9.tar.gz
Don't declare xmalloc explicitly.
Instead, include "xalloc.h".
Diffstat (limited to 'lib/stat.c')
-rw-r--r--lib/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stat.c b/lib/stat.c
index f3f373b958..3f77562be9 100644
--- 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 @@ 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'