(rpl_stat): Protoize.
authorJim Meyering <jim@meyering.net>
Sun, 8 Nov 1998 03:39:42 +0000 (03:39 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 8 Nov 1998 03:39:42 +0000 (03:39 +0000)
(stat): Remove #undef.

lib/stat.c

index 11f159f..9b69fbe 100644 (file)
 
 #include <config.h>
 
-/* Disable the definition of stat to rpl_stat (from config.h) in this
-   file.  Otherwise, we'd get conflicting prototypes for rpl_stat on
-   most systems.  */
-#undef stat
-
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>
@@ -42,9 +37,7 @@ extern int errno;
    has this bug.  */
 
 int
-rpl_stat (file, sbuf)
-     const char *file;
-     struct stat *sbuf;
+rpl_stat (const char *file, struct stat *sbuf)
 {
   if (file && *file == 0)
     {