HardenedBSD/sys/libkern
Bruce Evans 6485b5ff77 Use new-style declarations for min/max functions so that
"gcc -Wstrict-prototypes" doesn't emit warnings about them.

Write each min/max functions on a single line so that the similarity and
triviality of the functions is more obvious.

Put the quad min/max functions in the correct place (aphabetical order).

The u_quad min/max functions are missing.  Only 3 or 4 of the min/max
functions are actually used.  sys/socketvar.h ``should use "lmin" but
it doesn't exist now''.  lmin does exist now, but isn't used.  Since we
depend on gcc for `inline', perhaps we should depend on it for __typeof
and function-expressions and use only macros min() and max() that work
for any types (I'm not sure how to handle mixed types).
1994-09-18 23:04:25 +00:00
..
adddi3.c
anddi3.c
ashldi3.c
ashrdi3.c
bcmp.c
cmpdi2.c
divdi3.c
ffs.c
fnmatch.c
iordi3.c
libkern.h Use new-style declarations for min/max functions so that 1994-09-18 23:04:25 +00:00
locc.c
lshldi3.c
lshrdi3.c
Makefile
mcount.c
moddi3.c
muldi3.c
negdi2.c
notdi2.c
qdivrem.c
quad.h
random.c
rindex.c
scanc.c
skpc.c
strcat.c
strcmp.c
strcpy.c
strlen.c
strncpy.c
strsep.c
subdi3.c
ucmpdi2.c
udivdi3.c
umoddi3.c
xordi3.c