projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5d019
)
Update prototype to match.
author
Jim Meyering
<jim@meyering.net>
Fri, 17 May 1996 03:16:54 +0000
(
03:16
+0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 17 May 1996 03:16:54 +0000
(
03:16
+0000)
lib/fsusage.h
patch
|
blob
|
history
diff --git
a/lib/fsusage.h
b/lib/fsusage.h
index c3779c19ee8a8e2072f4278a6e590c6991dbe2b3..a4bcdbf596dc78275fabb57af3bb55d403c12677 100644
(file)
--- 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));