(find_mount_point): Convert from K&R style header to ANSI.
authorJim Meyering <jim@meyering.net>
Tue, 10 Dec 1996 00:28:02 +0000 (00:28 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 10 Dec 1996 00:28:02 +0000 (00:28 +0000)
Patch from Kaveh Ghazi.

src/df.c

index de39b70..2641d0f 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -376,9 +376,7 @@ show_disk (const char *disk)
 /* Return the root mountpoint of the filesystem on which FILE exists, in
    malloced storage.  FILE_STAT should be the result of stating FILE.  */
 static char *
-find_mount_point (file, file_stat)
-     char *file;
-     struct stat *file_stat;
+find_mount_point (const char *file, const struct stat *file_stat)
 {
   struct saved_cwd cwd;
   struct stat last_stat;