From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 06:59:01 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB86616A41F for ; Fri, 23 Dec 2005 06:59:01 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19A8B43D70 for ; Fri, 23 Dec 2005 06:59:00 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 108E2B832; Fri, 23 Dec 2005 08:58:59 +0200 (EET) Received: (nullmailer pid 30729 invoked by uid 1002); Fri, 23 Dec 2005 06:58:59 -0000 Date: Fri, 23 Dec 2005 08:58:59 +0200 From: Vasil Dimov To: Dieter Message-ID: <20051223065859.GA27361@qlovarnika.bg.datamax> References: <200512230620.GAA13949@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <200512230620.GAA13949@sopwith.solgatos.com> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Cc: freebsd-ports@freebsd.org Subject: Re: compiler can't tell int from function? nmh-1.0.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 06:59:02 -0000 --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 > 10 #include > 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--