[PATCH][POSIX]: Make natSelectorImplPosix.cc helper methods static
Mohan Embar
gnustuff@thisiscool.com
Thu Nov 13 08:52:00 GMT 2003
Hi Michael,
These should be static.
BTW: Nice work so far with the NIO stuff.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
ChangeLog
2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
* gnu/java/nio/natSelectorImplPosix.cc
(helper_put_filedescriptors): Change to static linkage.
(helper_get_filedescriptors): Likewise.
Index: gnu/java/nio/natSelectorImplPosix.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/nio/natSelectorImplPosix.cc,v
retrieving revision 1.1
diff -u -2 -r1.1 natSelectorImplPosix.cc
--- gnu/java/nio/natSelectorImplPosix.cc 11 Nov 2003 11:49:12 -0000 1.1
+++ gnu/java/nio/natSelectorImplPosix.cc 13 Nov 2003 08:40:01 -0000
@@ -18,5 +18,5 @@
#include <java/io/IOException.h>
-void
+static void
helper_put_filedescriptors (jintArray fdArray, fd_set& fds, int& max_fd)
{
@@ -32,5 +32,5 @@
}
-void
+static void
helper_get_filedescriptors (jintArray& fdArray, fd_set fds)
{
More information about the Java-patches
mailing list