summaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/fsck.h
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-26 01:30:59 +0000
committerDenis Vlasenko2006-12-26 01:30:59 +0000
commitc4f623ef2a7980a63de7c9f1d539a656b83f10e7 (patch)
treea294e28b0112052cb9d58b403554b3390e76f50c /e2fsprogs/old_e2fsprogs/fsck.h
parent64c54025842f205ad722675105b88044a5b6845a (diff)
downloadbusybox-c4f623ef2a7980a63de7c9f1d539a656b83f10e7.zip
busybox-c4f623ef2a7980a63de7c9f1d539a656b83f10e7.tar.gz
put small subset of e2fsprogs back in the tree:
lsattr, chattr, fsck. Old e2fsprogs tree is in e2fsprogs/old_e2fsprogs/*.
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/fsck.h')
-rw-r--r--e2fsprogs/old_e2fsprogs/fsck.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/e2fsprogs/old_e2fsprogs/fsck.h b/e2fsprogs/old_e2fsprogs/fsck.h
new file mode 100644
index 0000000..2ca2af7
--- /dev/null
+++ b/e2fsprogs/old_e2fsprogs/fsck.h
@@ -0,0 +1,16 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * fsck.h
+ */
+
+#define FSCK_ATTR(x) __attribute__(x)
+
+#define EXIT_OK 0
+#define EXIT_NONDESTRUCT 1
+#define EXIT_DESTRUCT 2
+#define EXIT_UNCORRECTED 4
+#define EXIT_ERROR 8
+#define EXIT_USAGE 16
+#define FSCK_CANCELED 32 /* Aborted with a signal or ^C */
+
+extern char *e2fs_set_sbin_path(void);