aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-20 00:40:08 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-20 00:40:08 +0000
commit8ea7d8cdaf4a03cdc06abc8b752b589271140a88 (patch)
tree955fc9545f490ca39f0c24629316b7d328612802 /internal.h
parent330fd2b5767110f29544131d4c72c77e0506b6df (diff)
downloadbusybox-w32-8ea7d8cdaf4a03cdc06abc8b752b589271140a88.tar.gz
busybox-w32-8ea7d8cdaf4a03cdc06abc8b752b589271140a88.tar.bz2
busybox-w32-8ea7d8cdaf4a03cdc06abc8b752b589271140a88.zip
First pass at fixing tar segfault, and more portability updates.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h12
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