From 498267851d48ee60376dc96411fb8693a5e95a3c Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Wed, 21 Nov 2007 16:55:40 +0100 Subject: remove unneeded e2fslib --- e2fslib/tst_bitops.c | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 e2fslib/tst_bitops.c (limited to 'e2fslib/tst_bitops.c') diff --git a/e2fslib/tst_bitops.c b/e2fslib/tst_bitops.c deleted file mode 100644 index fb4d3ad..0000000 --- a/e2fslib/tst_bitops.c +++ /dev/null @@ -1,44 +0,0 @@ -/* - * This testing program makes sure the bitops functions work - * - * Copyright (C) 2001 by Theodore Ts'o. - * - * %Begin-Header% - * This file may be redistributed under the terms of the GNU Public - * License. - * %End-Header% - */ - -/* #define _EXT2_USE_C_VERSIONS_ */ - -#include -#include -#if HAVE_UNISTD_H -#include -#endif -#include -#include -#include -#include -#if HAVE_ERRNO_H -#include -#endif - -#include "ext2_fs.h" -#include "ext2fs.h" - -unsigned char bitarray[] = { - 0x80, 0xF0, 0x40, 0x40, 0x0, 0x0, 0x0, 0x0, 0x10, 0x20, 0x00, 0x00 - }; - -main(int argc, char **argv) -{ - int i, size; - - size = sizeof(bitarray)*8; - i = ext2fs_find_first_bit_set(bitarray, size); - while (i < size) { - printf("Bit set: %d\n", i); - i = ext2fs_find_next_bit_set(bitarray, size, i+1); - } -} -- cgit v1.2.3