Date: Fri, 23 Dec 2005 08:58:59 +0200 From: Vasil Dimov <vd@datamax.bg> To: Dieter <freebsd@sopwith.solgatos.com> Cc: freebsd-ports@freebsd.org Subject: Re: compiler can't tell int from function? nmh-1.0.4 Message-ID: <20051223065859.GA27361@qlovarnika.bg.datamax> In-Reply-To: <200512230620.GAA13949@sopwith.solgatos.com> References: <200512230620.GAA13949@sopwith.solgatos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 22, 2005 at 10:20:58PM +0000, Dieter wrote: > ../h/prototypes.h:73: warning: function declaration isn't a prototype > context_read.c:12: warning: function declaration isn't a prototype >=20 09 #include <errno.h> > 10 #include <pwd.h> > 11 > 12 extern int errno; <-- doesn't look like a function to me? See errno(2), errno is redefined like this #define errno (* __error()) in /usr/include/errno.h The software should rely on errno.h for defining the errno identifier. --=20 Vasil Dimov --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFDq6AzFw6SP/bBpCARAknYAJoD6ArO/OW22bQdsCuiEmBtNCd2+wCeI3Qv kwMel5iFxJ/xovplYrJf/c8= =4YnU -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051223065859.GA27361>