From 7186f9a670f0342266e6ce601fdbb404647d8988 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 28 Jun 2000 19:15:35 +0000 Subject: More GPL vs LGPL fixes (sysdeps/getpagesize.c), and some header cleanups. -Erik --- Makefile | 5 +---- include/sys/param.h | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5f65a6ddf..b9062156f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -DIRS = headers error gtermcap misc stdio2 time getent regexp string termios sysdeps \ +DIRS = headers error misc stdio2 time getent regexp string termios sysdeps \ malloc-simple net rpc all: libc.a @@ -17,9 +17,6 @@ headers: dummy error: dummy make -C error -gtermcap: dummy - make -C gtermcap - misc: dummy make -C misc diff --git a/include/sys/param.h b/include/sys/param.h index 906a0a230..511c2ae1e 100644 --- a/include/sys/param.h +++ b/include/sys/param.h @@ -22,6 +22,9 @@ #define NR_FILE 32 #endif +/* Number of Bits per BYte */ +#define NBBY CHAR_BIT + /* Bit map related macros. */ #define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY)) #define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY))) -- cgit v1.2.3