This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compiler warning fix for mingw


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]