Mercurial > hg > octave-lojdl > gnulib-hg
changeset 1447:88b49633a347
Use PARAMS macro.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 25 Jul 1998 15:01:32 +0000 |
parents | d7a46a55964c |
children | c2b558e8c6ee |
files | lib/mountlist.h |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 *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