mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-20 18:20:49 +01:00
1b099e1e02
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. |
||
---|---|---|
.. | ||
adddi3.c | ||
anddi3.c | ||
ashldi3.c | ||
ashrdi3.c | ||
bcmp.c | ||
cmpdi2.c | ||
divdi3.c | ||
ffs.c | ||
fnmatch.c | ||
iordi3.c | ||
libkern.h | ||
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 |