summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mountlist.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/mountlist.h b/lib/mountlist.h
index 963670d4b..e38baf867 100644
--- a/lib/mountlist.h
+++ b/lib/mountlist.h
@@ -1,5 +1,5 @@
/* mountlist.h -- declarations for list of mounted filesystems
- Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1992, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -25,12 +25,17 @@ struct mount_entry
struct mount_entry *me_next;
};
-#if __STDC__
-struct mount_entry *read_filesystem_list (int need_fs_type, int all_fs);
-#else
-struct mount_entry *read_filesystem_list ();
+#ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
#endif
+struct mount_entry *read_filesystem_list PARAMS ((int need_fs_type,
+ int all_fs));
+
/* In most environments, by default, a filesystem type is remote if it
begins with "nfs". This allows variants like "nfs3". */
#ifndef REMOTE_FS_TYPE