Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 1998 10:49:01 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Garrett Wollman <wollman@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/include err.h src/lib/libc/gen err.3 err.c
Message-ID:  <19980913104901.A2966@klemm.gtn.com>
In-Reply-To: <199809122102.OAA16353@freefall.freebsd.org>; from Garrett Wollman on Sat, Sep 12, 1998 at 02:02:23PM -0700
References:  <199809122102.OAA16353@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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''



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980913104901.A2966>