freebsd-dev/sys/libkern
Bruce Evans 1b099e1e02 Hide the declaration of ffs() if an inline ffs() is implemented.
I couldn't find a better way to avoid compiler warnings about
redundant and/or inconsistent declaration of ffs().  I'd like to
be able to declare prototypes in general headers without committing
to implementing them as `static inline' or `extern', but there
seems to be no way to do this with gcc-2.6.1.  E.g.,

	int foo(void);
	static __inline int foo(void) { return 1; }

causes a warning about the linkage mismatch, while the opposite
order causes a warning about the redundant declaration.
1994-11-14 14:56:46 +00:00
..
adddi3.c
anddi3.c
ashldi3.c
ashrdi3.c
bcmp.c
cmpdi2.c
divdi3.c
ffs.c
fnmatch.c
iordi3.c
libkern.h Hide the declaration of ffs() if an inline ffs() is implemented. 1994-11-14 14:56:46 +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
strtol.c
subdi3.c
ucmpdi2.c
udivdi3.c
umoddi3.c
xordi3.c