This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[PATCH][POSIX]: Make natSelectorImplPosix.cc helper methods static
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: konqueror at gmx dot de
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 13 Nov 2003 02:46:09 -0600
- Subject: [PATCH][POSIX]: Make natSelectorImplPosix.cc helper methods static
- Reply-to: gnustuff at thisiscool dot com
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)
{