From owner-cvs-all Sun Sep 13 02:03:31 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05180 for cvs-all-outgoing; Sun, 13 Sep 1998 02:03:31 -0700 (PDT) (envelope-from owner-cvs-all) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05170; Sun, 13 Sep 1998 02:03:24 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id LAA14400; Sun, 13 Sep 1998 11:00:08 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.9.1/8.9.1) id KAA02973; Sun, 13 Sep 1998 10:49:02 +0200 (CEST) (envelope-from andreas) Message-ID: <19980913104901.A2966@klemm.gtn.com> Date: Sun, 13 Sep 1998 10:49:01 +0200 From: Andreas Klemm To: Garrett Wollman , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include err.h src/lib/libc/gen err.3 err.c References: <199809122102.OAA16353@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199809122102.OAA16353@freefall.freebsd.org>; from Garrett Wollman on Sat, Sep 12, 1998 at 02:02:23PM -0700 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk a make rerelease fails with: ===> lib/libc cc -O2 -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -D__DBINTERFAC E_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP - c /usr/src/lib/libc/../libc/gen/err.c -o err.o /usr/src/lib/libc/../libc/gen/err.c: In function `err': /usr/src/lib/libc/../libc/gen/err.c:80: warning: `noreturn' function does return /usr/src/lib/libc/../libc/gen/err.c: In function `verr': /usr/src/lib/libc/../libc/gen/err.c:89: warning: `noreturn' function does return /usr/src/lib/libc/../libc/gen/err.c: At top level: /usr/src/lib/libc/../libc/gen/err.c:102: warning: type mismatch with previous ex ternal decl /usr/src/lib/libc/../libc/gen/err.c:78: warning: previous external decl of `verr c' /usr/src/lib/libc/../libc/gen/err.c:102: warning: type mismatch with previous im plicit declaration /usr/src/lib/libc/../libc/gen/err.c:96: warning: previous implicit declaration o f `verrc' /usr/src/lib/libc/../libc/gen/err.c:102: warning: `verrc' was previously implici tly declared to return `int' /usr/src/lib/libc/../libc/gen/err.c:174: warning: type mismatch with previous ex ternal decl /usr/src/lib/libc/../libc/gen/err.c:151: warning: previous external decl of `vwa rnc' /usr/src/lib/libc/../libc/gen/err.c:174: warning: type mismatch with previous im plicit declaration /usr/src/lib/libc/../libc/gen/err.c:168: warning: previous implicit declaration of `vwarnc' /usr/src/lib/libc/../libc/gen/err.c:174: warning: `vwarnc' was previously implic itly declared to return `int' cc -O2 -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -D__DBINTERFAC E_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP - c /usr/src/lib/libc/../libc/stdtime/strptime.c -o strptime.o /usr/src/lib/libc/../libc/stdtime/strptime.c:76: conflicting types for `strptime ' /usr/include/time.h:146: previous declaration of `strptime' *** Error code 1 Stop. On Sat, Sep 12, 1998 at 02:02:23PM -0700, Garrett Wollman wrote: > wollman 1998/09/12 14:02:23 PDT > > Modified files: > include err.h > lib/libc/gen err.3 err.c > Log: > A small last-minute iitem for 3.0: > > - Fix some style errors I made back in 1995. > > - Add a new flavor of the err(3) family, which takes an explicit > errno argument rather than implicitly examining errno. This > will make it easier to use these functions in conjunction with > modern library interfaces that return an errno value explicitly. > > Revision Changes Path > 1.5 +6 -1 src/include/err.h > 1.9 +57 -9 src/lib/libc/gen/err.3 > 1.4 +67 -75 src/lib/libc/gen/err.c -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP''