summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-10 00:28:02 +0000
committerJim Meyering <jim@meyering.net>1996-12-10 00:28:02 +0000
commit1d3c57118b0f2010db0546662fd23e4dbea5ece6 (patch)
treeeed6aa4249e4fb6ecaf8cf88b65f43c7465ee723 /src
parent195b5ebbe793c3019cfad0c7de2b6a7dd3e64a05 (diff)
downloadcoreutils-1d3c57118b0f2010db0546662fd23e4dbea5ece6.tar.xz
(find_mount_point): Convert from K&R style header to ANSI.
Patch from Kaveh Ghazi.
Diffstat (limited to 'src')
-rw-r--r--src/df.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/df.c b/src/df.c
index de39b709f..2641d0f15 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;