Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 12:00:22 -0400 (EDT)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Tim Robbins <tjr@FreeBSD.ORG>
Cc:        standards@FreeBSD.ORG
Subject:   Re: select.diff for review
Message-ID:  <200209231600.g8NG0Mod081956@khavrinen.lcs.mit.edu>
In-Reply-To: <20020923234523.A27512@dilbert.robbins.dropbear.id.au>
References:  <20020922235943.G91924@espresso.q9media.com> <20020923234523.A27512@dilbert.robbins.dropbear.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 23 Sep 2002 23:45:23 +1000, Tim Robbins <tjr@FreeBSD.ORG> said:

> I think it's probably better if you don't test whether select() has been
> declared, and simply declare it anyway. If the two prototypes get out of
> sync with each other, the compiler will warn, otherwise it's harmless.

It's harmless except when GCC is compiling both definitions under
-Werror -Wredundant-decls.  See the implementation of WARNS in
bsd.*.mk.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




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