diff options
Diffstat (limited to 'e2fsprogs/ext2fs/bb_compat.c')
-rw-r--r-- | e2fsprogs/ext2fs/bb_compat.c | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/e2fsprogs/ext2fs/bb_compat.c b/e2fsprogs/ext2fs/bb_compat.c deleted file mode 100644 index 419ac7785..000000000 --- a/e2fsprogs/ext2fs/bb_compat.c +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | * bb_compat.c --- compatibility badblocks routines | ||
4 | * | ||
5 | * Copyright (C) 1997 Theodore Ts'o. | ||
6 | * | ||
7 | * %Begin-Header% | ||
8 | * This file may be redistributed under the terms of the GNU Public | ||
9 | * License. | ||
10 | * %End-Header% | ||
11 | */ | ||
12 | |||
13 | #include <stdio.h> | ||
14 | #include <string.h> | ||
15 | #if HAVE_UNISTD_H | ||
16 | #include <unistd.h> | ||
17 | #endif | ||
18 | #include <fcntl.h> | ||
19 | #include <time.h> | ||
20 | #if HAVE_SYS_STAT_H | ||
21 | #include <sys/stat.h> | ||
22 | #endif | ||
23 | #if HAVE_SYS_TYPES_H | ||
24 | #include <sys/types.h> | ||
25 | #endif | ||
26 | |||
27 | #include "ext2_fs.h" | ||
28 | #include "ext2fsP.h" | ||
29 | |||
30 | errcode_t badblocks_list_create(badblocks_list *ret, int size) | ||
31 | { | ||
32 | return ext2fs_badblocks_list_create(ret, size); | ||
33 | } | ||
34 | |||
35 | void badblocks_list_free(badblocks_list bb) | ||
36 | { | ||
37 | ext2fs_badblocks_list_free(bb); | ||
38 | } | ||
39 | |||
40 | errcode_t badblocks_list_add(badblocks_list bb, blk_t blk) | ||
41 | { | ||
42 | return ext2fs_badblocks_list_add(bb, blk); | ||
43 | } | ||
44 | |||
45 | int badblocks_list_test(badblocks_list bb, blk_t blk) | ||
46 | { | ||
47 | return ext2fs_badblocks_list_test(bb, blk); | ||
48 | } | ||
49 | |||
50 | errcode_t badblocks_list_iterate_begin(badblocks_list bb, | ||
51 | badblocks_iterate *ret) | ||
52 | { | ||
53 | return ext2fs_badblocks_list_iterate_begin(bb, ret); | ||
54 | } | ||
55 | |||
56 | int badblocks_list_iterate(badblocks_iterate iter, blk_t *blk) | ||
57 | { | ||
58 | return ext2fs_badblocks_list_iterate(iter, blk); | ||
59 | } | ||
60 | |||
61 | void badblocks_list_iterate_end(badblocks_iterate iter) | ||
62 | { | ||
63 | ext2fs_badblocks_list_iterate_end(iter); | ||
64 | } | ||