summaryrefslogtreecommitdiff
path: root/libjava/include/win32.h
diff options
context:
space:
mode:
authorMohan Embar <gnustuff@thisiscool.com>2003-11-07 03:13:56 +0000
committerMohan Embar <membar@gcc.gnu.org>2003-11-07 03:13:56 +0000
commitbbf76ec06cbb846464bbb3701280167d0319b47b (patch)
treec9570d50348a6ac911e60fd0d891fb96bfe37fcc /libjava/include/win32.h
parenteb4ad71ac1d151524c097e7f956d44b3b7eafd52 (diff)
downloadgcc-bbf76ec06cbb846464bbb3701280167d0319b47b.tar.gz
win32.h (_Jv_platform_close_on_exec): Changed signature and declared extern.
* include/win32.h (_Jv_platform_close_on_exec): Changed signature and declared extern. * win32.cc (_Jv_platform_close_on_exec): Implemented. * gnu/java/net/natPlainDatagramSocketImplWin32.cc (create): Use new signature of _Jv_platform_close_on_exec. * gnu/java/net/natPlainSocketImplWin32.cc (create): Eliminated a few typecasts Use new signature of _Jv_platform_close_on_exec. (accept): Eliminated a few typecasts Use new signature of _Jv_platform_close_on_exec. * java/io/natFileDescriptorWin32.cc (open): Use _Jv_platform_close_on_exec. From-SVN: r73325
Diffstat (limited to 'libjava/include/win32.h')
-rw-r--r--libjava/include/win32.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libjava/include/win32.h b/libjava/include/win32.h
index e169adf9b28..479ed53f00e 100644
--- a/libjava/include/win32.h
+++ b/libjava/include/win32.h
@@ -97,11 +97,8 @@ extern jlong _Jv_platform_gettimeofday ();
extern int _Jv_select (int n, fd_set *, fd_set *, fd_set *, struct timeval *);
extern int _Jv_pipe (int filedes[2]);
-inline void
-_Jv_platform_close_on_exec (jint)
-{
- // Ignore.
-}
+extern void
+_Jv_platform_close_on_exec (HANDLE h);
#ifdef JV_HASH_SYNCHRONIZATION
/* Suspends the execution of the current thread for the specified