projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195b5eb
)
(find_mount_point): Convert from K&R style header to ANSI.
author
Jim Meyering
<jim@meyering.net>
Tue, 10 Dec 1996 00:28:02 +0000
(
00:28
+0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 10 Dec 1996 00:28:02 +0000
(
00:28
+0000)
Patch from Kaveh Ghazi.
src/df.c
patch
|
blob
|
history
diff --git
a/src/df.c
b/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;