cvs commit: src/usr.sbin/route6d route6d.c
Bruce Evans
bde at zeta.org.au
Sun Aug 17 14:17:29 PDT 2003
On Sun, 17 Aug 2003, Hajimu UMEMOTO wrote:
> ume 2003/08/17 09:05:49 PDT
>
> FreeBSD src repository
>
> Modified files:
> usr.sbin/route6d route6d.c
> Log:
> "sin" is a reserved C library function name. use sin6
Actually, "sin" is just reserved for external linkage if <math.h> is
not included, and at file scope if <math.h> is included. Since neither
of these applies here, it was not reserved. It is just a compiler bug
to warn about it being reserved. gcc-3.3 seems to have reintroduced
this bug.
> Revision Changes Path
> 1.12 +73 -73 src/usr.sbin/route6d/route6d.c
/usr/src has about 1500 other lines containing the identifier `sin'.
Bruce
More information about the cvs-src
mailing list