summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-08 15:26:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-08 15:26:55 +0000
commit7ddf295a4b4909db69d3339b0ff447075d5009a3 (patch)
treed1819cb7dd772998b073978c4bfc9dc257dd718d /file.c
parent53dc9794f0f2c726be249f8a4e22c1a778c336af (diff)
file.c: remove unnecessary declaration
* file.c (GetLastError): already defined in windows.h on nowadays cygwin, and caused the confliction with the system provided definition on cygwin64. by @kou1okada [Fixes GH-433]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/file.c b/file.c
index 8b74369d21..b14f42e1f8 100644
--- a/file.c
+++ b/file.c
@@ -4302,7 +4302,6 @@ rb_file_truncate(VALUE obj, VALUE len)
#ifdef __CYGWIN__
#include <winerror.h>
-extern unsigned long __attribute__((stdcall)) GetLastError(void);
#endif
static VALUE