]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdbool.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 20:27:16 +0000 (20:27 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 20:27:16 +0000 (20:27 +0000)
(read_file_system_list): Accept bool flag, not int.

lib/mountlist.h

index ffe023111d64f023b68e9991cef5066d5fbcff4a..c3694c21131417d3fc7ec2b72821249cfe0b0755 100644 (file)
@@ -17,6 +17,8 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
+#include <stdbool.h>
+
 /* A mount table entry. */
 struct mount_entry
 {
@@ -30,7 +32,7 @@ struct mount_entry
   struct mount_entry *me_next;
 };
 
-struct mount_entry *read_file_system_list (int need_fs_type);
+struct mount_entry *read_file_system_list (bool need_fs_type);
 
 #ifndef ME_DUMMY
 # define ME_DUMMY(Fs_name, Fs_type) \