From owner-freebsd-current Sun Sep 2 13:53:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 4059537B401 for ; Sun, 2 Sep 2001 13:53:11 -0700 (PDT) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 15deEv-0005UQ-00; Sun, 2 Sep 2001 22:53:09 +0200 Received: (from daemon@localhost) by kemoauc.mips.inka.de (8.11.6/8.11.1) id f82Kdss40252 for freebsd-current@freebsd.org; Sun, 2 Sep 2001 22:39:54 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: buildworld fails in src/lib/libc/posix1e Date: Sun, 2 Sep 2001 20:39:52 +0000 (UTC) Message-ID: <9mu5eo$179j$1@kemoauc.mips.inka.de> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ... cc -nostdinc -O -pipe -mcpu=ev56 -mcpu=ev56 -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -DLIBC_MAJOR=5 -D__DBINTERFACE_PRIVATE -DINET6 -I/home/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -I/usr/obj/usr/src/alpha/usr/include -c /usr/src/lib/libc/../libc/posix1e/cap_copy.c -o cap_copy.o /usr/src/lib/libc/../libc/posix1e/cap_copy.c:46: conflicting types for `cap_copy_ext' /usr/obj/usr/src/alpha/usr/include/sys/capability.h:219: previous declaration of `cap_copy_ext' ... cap_copy.c: int cap_copy_ext(void *ext_p, cap_t cap, ssize_t size) capability.h: ssize_t cap_copy_ext(void *, cap_t, ssize_t) On alpha, ssize_t comes down to long (_BSD_SSIZE_T_ in src/sys/alpha/include/ansi.h). The same problem applies to cap_size(). Index: lib/libc/posix1e/cap_copy.c =================================================================== RCS file: /cvs/src/lib/libc/posix1e/cap_copy.c,v retrieving revision 1.1 diff -u -r1.1 cap_copy.c --- lib/libc/posix1e/cap_copy.c 31 Aug 2001 02:07:48 -0000 1.1 +++ lib/libc/posix1e/cap_copy.c 2 Sep 2001 20:38:45 -0000 @@ -41,7 +41,7 @@ #include #include -int +ssize_t cap_copy_ext(void *ext_p, cap_t cap, ssize_t size) { if (size < 0) { @@ -72,8 +72,8 @@ } return (c); } - -int + +ssize_t cap_size(cap_t cap) { (void)cap; /* silence warning */ -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message