summaryrefslogtreecommitdiff
path: root/e2fsck/pass2.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2003-03-01 19:47:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2003-03-01 19:47:44 -0500
commitf364093b1956def0b0f1d037852cbb645284d5f2 (patch)
tree32fa27cd0d757318c35804429c9c075ee94f755e /e2fsck/pass2.c
parented1b33e8fb310641684d68a177c940b58f2f529d (diff)
downloade2fsprogs-f364093b1956def0b0f1d037852cbb645284d5f2.tar.gz
Update debugfs and e2fsck to use the blkid library.
Diffstat (limited to 'e2fsck/pass2.c')
-rw-r--r--e2fsck/pass2.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/e2fsck/pass2.c b/e2fsck/pass2.c
index 4813d883..8703a015 100644
--- a/e2fsck/pass2.c
+++ b/e2fsck/pass2.c
@@ -80,21 +80,6 @@ struct check_dir_struct {
e2fsck_t ctx;
};
-#ifndef HAVE_STRNLEN
-/*
- * Incredibly, libc5 doesn't appear to have strnlen. So we have to
- * provide our own.
- */
-static int strnlen(const char * s, int count)
-{
- const char *cp = s;
-
- while (count-- && *cp)
- cp++;
- return cp - s;
-}
-#endif
-
void e2fsck_pass2(e2fsck_t ctx)
{
struct ext2_super_block *sb = ctx->fs->super;