diff options
author | Roland McGrath <roland@gnu.org> | 1999-10-02 05:59:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-10-02 05:59:29 +0000 |
commit | 0093fda9e85344fe47f162e1a5627479c183947a (patch) | |
tree | 1632a2f3ab23adc385a0f0983b63e8555c130d28 /ext2fs/ext2fs.h | |
parent | c0becc25a2fadfd8b03c8dbf6b101a5925a6aeed (diff) | |
download | hurd-0093fda9e85344fe47f162e1a5627479c183947a.tar.gz hurd-0093fda9e85344fe47f162e1a5627479c183947a.tar.bz2 hurd-0093fda9e85344fe47f162e1a5627479c183947a.zip |
1999-10-02 Roland McGrath <roland@baalperazim.frob.com>
* 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.
Diffstat (limited to 'ext2fs/ext2fs.h')
-rw-r--r-- | ext2fs/ext2fs.h | 9 |
1 files changed, 0 insertions, 9 deletions
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); /* ---------------------------------------------------------------- */ |