From 2c8ce7799f85bff59541b8320ddf9a74b42b1ce4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 17 May 1996 03:16:54 +0000 Subject: [PATCH] Update prototype to match. --- lib/fsusage.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/fsusage.h b/lib/fsusage.h index c3779c19ee..a4bcdbf596 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)); -- 2.30.2