This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: compiler warning fix for mingw
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Subject: Re: compiler warning fix for mingw
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 07 Nov 2001 09:06:52 -0500
- CC: cygwin-patches at cygwin dot com
- References: <1005138583.489.5.camel@lifelesswks>
- Reply-To: CP List <Cygwin-Patches at Cygwin dot Com>
Check this in.
Robert Collins wrote:
> Changelog:
> 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
>
> * include/errno.h: Fix "errno is not a prototype" warning.
>
> Rob
>
> Index: include/errno.h
> ===================================================================
> RCS file: /cvs/src/src/winsup/mingw/include/errno.h,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 errno.h
> --- errno.h 2000/02/17 19:38:31 1.1.1.1
> +++ errno.h 2001/11/07 13:06:45
> @@ -104,7 +104,7 @@ extern "C" {
> #undef errno
> extern int errno;
> #else
> -int* _errno();
> +int* _errno(void);
> #define errno (*_errno())
> #endif
--
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com