From owner-freebsd-sparc64@FreeBSD.ORG Tue Jan 13 06:44:39 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 389AC16A4CE for ; Tue, 13 Jan 2004 06:44:39 -0800 (PST) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 315C743D4C for ; Tue, 13 Jan 2004 06:44:38 -0800 (PST) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id CB1A5548A4 for ; Tue, 13 Jan 2004 08:44:37 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id 56A9C6D45F; Tue, 13 Jan 2004 08:44:37 -0600 (CST) Date: Tue, 13 Jan 2004 08:44:37 -0600 From: "Jacques A. Vidrine" To: freebsd-sparc64@FreeBSD.org Message-ID: <20040113144437.GB48140@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , freebsd-sparc64@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i-ja.1 Subject: src/lib/libc/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 14:44:39 -0000 Hi All, While cleaning up libc warnings, I noticed the following while compiling on sparc64: .../libc/sparc64/sys/__sparc_utrap.c:114: warning: implicit declaration of function `__sys_write' .../libc/sparc64/sys/__sparc_utrap.c:124: warning: implicit declaration of function `__sys_kill' .../libc/sparc64/sys/__sparc_utrap.c:124: warning: implicit declaration of function `__sys_getpid' I'm not sure of the best way to resolve these. It's not clear to me where these are defined, nor whether or not they could be replaced by calls to the usual stubs (_write, ...)--- I assume not. So before I added function declarations for them to shut up the compiler, I thought I'd ask. (With these `fixed', I believe libc will be WARNS=2 clean on all platforms.) Cheers, -- Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal nectar@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se