This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
compiler warning fix for mingw
- To: cygwin-patches at cygwin dot com
- Subject: compiler warning fix for mingw
- From: Robert Collins <robert dot collins at itdomain dot com dot au>
- Date: 08 Nov 2001 00:09:42 +1100
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