From: Jim Meyering Date: Tue, 10 Dec 1996 00:28:02 +0000 (+0000) Subject: (find_mount_point): Convert from K&R style header to ANSI. X-Git-Tag: SH-UTILS-1_12s~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d3c57118b0f2010db0546662fd23e4dbea5ece6;p=thirdparty%2Fcoreutils.git (find_mount_point): Convert from K&R style header to ANSI. Patch from Kaveh Ghazi. --- diff --git a/src/df.c b/src/df.c index de39b709f2..2641d0f150 100644 --- 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;