freebsd-skq/include
David Malone fc39509245 Cleanup of bitstring.h:
1) Add FreeBSD: tag.
2) Add parenthesis around macro args.
3) Add parenthesis around macros which are expressions.
4) Add do { ... } while (0) around macros which are compound statements.
5) Sync bitstr_size and bit_alloc with neater versions from NetBSD.
6) Fix bit_ffs and bit_ffc so that they don't search off the end of the
	bitstirng.
7) Try to avoid rightshifting signed ints.

I didn't take NetBSD's version directly as the macros are significantly
slower for long bitstrings. Bruce reviewed a previous version of
this patch.

PR:		21204
Submitted by:	bob@immure.com
Reviewed by:	bde
2000-10-09 12:34:51 +00:00
..
arpa
protocols
rpc Back out 1.15. It caused more harm than good. Something, however, 2000-07-21 14:49:09 +00:00
rpcsvc
_ctype.h There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
a.out.h
ar.h
assert.h
bitstring.h Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
ctype.h There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
db.h
dirent.h
disktab.h
dlfcn.h Add a definition for RTLD_DEFAULT. 2000-09-19 04:24:50 +00:00
elf-hints.h
elf.h
err.h
fnmatch.h
fstab.h
fts.h
glob.h
grp.h
hesiod.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
histedit.h
ieeefp.h Finish moving all IEEE fp types to be the same on all arch's. 2000-05-10 19:41:40 +00:00
ifaddrs.h add getifaddrs(3) from bsdi. this is a magic function which lets you grab 2000-07-05 02:13:17 +00:00
iso646.h
libgen.h Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
limits.h
link.h Update the prototype for "r_brk" to correspond with the change in 2000-09-18 20:40:32 +00:00
locale.h
Makefile Welcome stdbool.h. A header file from the ANSI C99 specification. 2000-09-16 07:28:44 +00:00
malloc.h
math.h
memory.h
mpool.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ndbm.h
netdb.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
nl_types.h
nlist.h
nsswitch.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
objformat.h
paths.h
pthread_np.h
pthread.h Fixed missing consts for function parameters, so that the code matches 2000-05-11 15:57:17 +00:00
pwd.h
ranlib.h
regex.h
regexp.h
resolv.h
rune.h
runetype.h
search.h fix spelling errors. 2000-07-07 16:52:24 +00:00
setjmp.h
sgtty.h
signal.h
stab.h
stdbool.h Welcome stdbool.h. A header file from the ANSI C99 specification. 2000-09-16 07:28:44 +00:00
stddef.h
stdio.h
stdlib.h
strhash.h
string.h
stringlist.h
strings.h
struct.h
sysexits.h
tar.h
time.h
timers.h
ttyent.h
unistd.h Move setproctitle() from libutil to libc (after a repo-copy) 2000-09-02 01:51:36 +00:00
utime.h
utmp.h
vis.h Add URI encoding to the vis/unvis routines courtesy of VIS_HTTPSTYLE. 2000-07-01 15:55:49 +00:00