diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/internal.h b/internal.h index 9c55f5a49..909bf6473 100644 --- a/internal.h +++ b/internal.h | |||
@@ -284,18 +284,6 @@ int nfsmount(const char *spec, const char *node, unsigned long *flags, | |||
284 | char **extra_opts, char **mount_opts, int running_bg); | 284 | char **extra_opts, char **mount_opts, int running_bg); |
285 | #endif | 285 | #endif |
286 | 286 | ||
287 | #if defined (BB_FSCK_MINIX) || defined (BB_MKFS_MINIX) | ||
288 | /* Bit map related macros. */ | ||
289 | #ifndef setbit | ||
290 | #define CHAR_BITS 8 /* Number of bits in a `char'. */ | ||
291 | #define setbit(a,i) ((a)[(i)/CHAR_BITS] |= 1<<((i)%CHAR_BITS)) | ||
292 | #define clrbit(a,i) ((a)[(i)/CHAR_BITS] &= ~(1<<((i)%CHAR_BITS))) | ||
293 | #define isset(a,i) ((a)[(i)/CHAR_BITS] & (1<<((i)%CHAR_BITS))) | ||
294 | #define isclr(a,i) (((a)[(i)/CHAR_BITS] & (1<<((i)%CHAR_BITS))) == 0) | ||
295 | #endif | ||
296 | #endif | ||
297 | |||
298 | |||
299 | #ifndef RB_POWER_OFF | 287 | #ifndef RB_POWER_OFF |
300 | /* Stop system and switch power off if possable. */ | 288 | /* Stop system and switch power off if possable. */ |
301 | #define RB_POWER_OFF 0x4321fedc | 289 | #define RB_POWER_OFF 0x4321fedc |