aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hotmail.com>2001-11-07 14:10:25 +0000
committerRobert Collins <rbtcollins@hotmail.com>2001-11-07 14:10:25 +0000
commit4cecec6cde0a0c453733bcd7acdf6d71a744e6d7 (patch)
tree65cae9057d6eeeb37e52e8b45f5567001c1d185e
parente2c07930f73d279e5c104e90a9a71ffb38c627cf (diff)
downloadnewlib-4cecec6cde0a0c453733bcd7acdf6d71a744e6d7.zip
newlib-4cecec6cde0a0c453733bcd7acdf6d71a744e6d7.tar.gz
newlib-4cecec6cde0a0c453733bcd7acdf6d71a744e6d7.tar.bz2
2001-11-08 Robert Collins <rbtcollins@hotmail.com>
* include/errno.h: Fix "errno is not a prototype" warning.
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/errno.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 3b8fd41..e98b11e 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-08 Robert Collins <rbtcollins@hotmail.com>
+
+ * include/errno.h: Fix "errno is not a prototype" warning.
+
2001-11-05 Egor Duda <deo@logos-m.ru>
* Makefile.in: Delete unused executable after creating base-files.
diff --git a/winsup/mingw/include/errno.h b/winsup/mingw/include/errno.h
index d731078..dedf340 100644
--- a/winsup/mingw/include/errno.h
+++ b/winsup/mingw/include/errno.h
@@ -104,7 +104,7 @@ extern "C" {
#undef errno
extern int errno;
#else
-int* _errno();
+int* _errno(void);
#define errno (*_errno())
#endif