Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-03-31 01:49:12 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2004-03-31 01:49:12 +0400
commit4289ebdbfb53d0ab767e21b5c3f1abcc6b7a4479 (patch)
tree62e9c54c03cee9cc4d5adb4e7c8617c65f871afc /winsup
parentc83bdbf65e589a40b6f01bcdf586e91391013647 (diff)
2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h: (_findfirst): Correct prototype. 2004-03-30 Hans Leidekker <hans@it.vu.nl> * include/io.h: (_findnext, _findclose): Correct prototype.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/mingw/ChangeLog8
-rw-r--r--winsup/mingw/include/io.h6
2 files changed, 11 insertions, 3 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 7aa643cf2..b72927803 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,11 @@
+2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/io.h: (_findfirst): Correct prototype.
+
+2004-03-30 Hans Leidekker <hans@it.vu.nl>
+
+ * include/io.h: (_findnext, _findclose): Correct prototype.
+
2004-03-28 Hans Leidekker <hans@it.vu.nl>
* include/math.h (FP_*): Add defines.
diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h
index 83498044f..c559f60ec 100644
--- a/winsup/mingw/include/io.h
+++ b/winsup/mingw/include/io.h
@@ -138,9 +138,9 @@ extern "C" {
* and 0 if a match was found. Call _findclose when you are finished.
*/
/* FIXME: Should these all use intptr_t, as per recent MSDN docs? */
-_CRTIMP int __cdecl _findfirst (const char*, struct _finddata_t*);
-_CRTIMP int __cdecl _findnext (int, struct _finddata_t*);
-_CRTIMP int __cdecl _findclose (int);
+_CRTIMP long __cdecl _findfirst (const char*, struct _finddata_t*);
+_CRTIMP int __cdecl _findnext (long, struct _finddata_t*);
+_CRTIMP int __cdecl _findclose (long);
_CRTIMP int __cdecl _chdir (const char*);
_CRTIMP char* __cdecl _getcwd (char*, int);