# HG changeset patch # User Jim Meyering # Date 901378892 0 # Node ID 88b49633a347f07be1c2b1e11faf680a1ef35f23 # Parent d7a46a55964c1697b9d4339b12bdd5ed7fafd301 Use PARAMS macro. diff --git a/lib/mountlist.h b/lib/mountlist.h --- 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