Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 07:17:23 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Hajimu UMEMOTO <ume@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/route6d route6d.c
Message-ID:  <20030818070415.W3401@gamplex.bde.org>
In-Reply-To: <200308171605.h7HG5nOd095330@repoman.freebsd.org>
References:  <200308171605.h7HG5nOd095330@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030818070415.W3401>