aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.h
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/fsck.h')
-rw-r--r--e2fsprogs/fsck.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/e2fsprogs/fsck.h b/e2fsprogs/fsck.h
index 87914af3b..537b26619 100644
--- a/e2fsprogs/fsck.h
+++ b/e2fsprogs/fsck.h
@@ -2,18 +2,8 @@
* fsck.h
*/
-#include <time.h>
-
#define FSCK_ATTR(x) __attribute__(x)
-
-#ifndef DEFAULT_FSTYPE
-#define DEFAULT_FSTYPE "ext2"
-#endif
-
-#define MAX_DEVICES 32
-#define MAX_ARGS 32
-
#define EXIT_OK 0
#define EXIT_NONDESTRUCT 1
#define EXIT_DESTRUCT 2
@@ -21,36 +11,3 @@
#define EXIT_ERROR 8
#define EXIT_USAGE 16
#define EXIT_LIBRARY 128
-
-/*
- * Internal structure for mount tabel entries.
- */
-
-struct fs_info {
- char *device;
- char *mountpt;
- char *type;
- char *opts;
- int freq;
- int passno;
- int flags;
- struct fs_info *next;
-};
-
-#define FLAG_DONE 1
-#define FLAG_PROGRESS 2
-
-/*
- * Structure to allow exit codes to be stored
- */
-struct fsck_instance {
- int pid;
- int flags;
- int exit_status;
- time_t start_time;
- char * prog;
- char * type;
- char * device;
- char * base_device;
- struct fsck_instance *next;
-};