summaryrefslogtreecommitdiff
path: root/lib/mountlist.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 20:27:16 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 20:27:16 +0000
commitd1ee2543c7177efa14ac6f10b93bab129a0ab0c1 (patch)
tree59bd419b9c9ec687189def71134ab806f916f299 /lib/mountlist.h
parentdf3b48143bcaa1049c3f0836991275fd3edb1587 (diff)
downloadcoreutils-d1ee2543c7177efa14ac6f10b93bab129a0ab0c1.tar.xz
Include <stdbool.h>.
(read_file_system_list): Accept bool flag, not int.
Diffstat (limited to 'lib/mountlist.h')
-rw-r--r--lib/mountlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mountlist.h b/lib/mountlist.h
index ffe023111..c3694c211 100644
--- a/lib/mountlist.h
+++ b/lib/mountlist.h
@@ -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) \