diff options
author | Jim Meyering <jim@meyering.net> | 1996-05-17 03:16:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-05-17 03:16:54 +0000 |
commit | 573c16a666a0d4057485cf2e708ff3dc2366f00e (patch) | |
tree | 6c3b33545a75a4eb881df228602e970179bf325d /lib | |
parent | bae16cb45bf4d201fa0b39bbc796b68cb00141bf (diff) | |
download | coreutils-573c16a666a0d4057485cf2e708ff3dc2366f00e.tar.xz |
Update prototype to match.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fsusage.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/fsusage.h b/lib/fsusage.h index c3779c19e..a4bcdbf59 100644 --- a/lib/fsusage.h +++ b/lib/fsusage.h @@ -25,8 +25,13 @@ struct fs_usage long fsu_ffree; /* Free file nodes. */ }; -#if __STDC__ -int get_fs_usage (char *path, char *disk, struct fs_usage *fsp); +#ifndef __P +#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +#define __P(args) args #else -int get_fs_usage (); -#endif +#define __P(args) () +#endif /* GCC. */ +#endif /* Not __P. */ + +int get_fs_usage __P ((const char *path, const char *disk, + struct fs_usage *fsp)); |