Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mke2fs support for BLKDISCARD
[tools/e2fsprogs.git]
/
misc
/
fsck.h
diff --git
a/misc/fsck.h
b/misc/fsck.h
index
56afcf9
..
8a0f70e
100644
(file)
--- a/
misc/fsck.h
+++ b/
misc/fsck.h
@@
-11,6
+11,13
@@
#define const
#endif
#define const
#endif
+#ifdef __GNUC__
+#define FSCK_ATTR(x) __attribute__(x)
+#else
+#define FSCK_ATTR(x)
+#endif
+
+
#ifndef DEFAULT_FSTYPE
#define DEFAULT_FSTYPE "ext2"
#endif
#ifndef DEFAULT_FSTYPE
#define DEFAULT_FSTYPE "ext2"
#endif
@@
-61,3
+68,6
@@
struct fsck_instance {
extern char *base_device(const char *device);
extern const char *identify_fs(const char *fs_name, const char *fs_types);
extern char *base_device(const char *device);
extern const char *identify_fs(const char *fs_name, const char *fs_types);
+
+/* ismounted.h */
+extern int is_mounted(const char *file);