src/winsup/cygwin ChangeLog include/err.h
Eric Blake
eblake@redhat.com
Wed Feb 2 15:00:00 GMT 2011
On 02/02/2011 03:16 AM, corinna wrote:
> CVSROOT: /cvs/src
> Module name: src
> Changes by: corinna 2011-02-02 10:16:30
>
> Modified files:
> winsup/cygwin : ChangeLog
> winsup/cygwin/include: err.h
>
> Log message:
> * include/err.h (err): Add noreturn attribute.
> (errx): Ditto.
> (verr): Ditto.
> (verrx): Ditto.
>
> Patches:
> http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5141&r2=1.5142
> http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/err.h.diff?cvsroot=src&r1=1.1&r2=1.2
Oops, this introduced a syntax error:
-extern void warn (const char *fmt, ...);
-extern void warnx (const char *fmt, ...);
+extern void warn (const char *fmt, ...)
+extern void warnx (const char *fmt, ...)
Looks like you first marked warn as noreturn, then (correctly) changed
your mind, but forgot to restore the trailing ; in the process.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20110202/bba7cc40/attachment.sig>
More information about the Cygwin-developers
mailing list