diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-25 15:01:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-25 15:01:32 +0000 |
commit | 3f3df4e600485ce556f37110ac040f970ce7583c (patch) | |
tree | 3ddc5a36d733ed267c6a6c5e62555b4fbf831c43 | |
parent | 27e780fe9790d6604ad90bad997db3c0e081b103 (diff) | |
download | coreutils-3f3df4e600485ce556f37110ac040f970ce7583c.tar.xz |
Use PARAMS macro.
-rw-r--r-- | lib/mountlist.h | 15 |
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 |