From 0093fda9e85344fe47f162e1a5627479c183947a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 2 Oct 1999 05:59:29 +0000 Subject: 1999-10-02 Roland McGrath * bitmap.c (count_free, find_next_zero_bit, find_first_zero_bit): Make these all static inline. (ffz, ffz_nibble_map): Function and variable removed. (ffz): Replace decl with macro defined in terms of ffs. * ext2fs.h (count_free, find_next_zero_bit, find_first_zero_bit, ffz): Remove these declarations. * Makefile (SRCS): Remove bitmap.c. (LCLHDRS): Add bitmap.c here instead. * balloc.c, ialloc.c: #include "bitmap.c" here. --- ext2fs/ext2fs.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ext2fs/ext2fs.h') diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h index 9a36e99c..722f0e56 100644 --- a/ext2fs/ext2fs.h +++ b/ext2fs/ext2fs.h @@ -147,15 +147,6 @@ clear_bit (unsigned num, char *bitmap) else return 0; } - -/* Counts the number of bits unset in MAP, a bitmap NUMCHARS long. */ -unsigned long count_free (char * map, unsigned int numchars); - -extern int find_first_zero_bit(void * addr, unsigned size); - -extern int find_next_zero_bit (void * addr, int size, int offset); - -extern unsigned long ffz(unsigned long word); /* ---------------------------------------------------------------- */ -- cgit v1.2.3