This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][POSIX]: Make natSelectorImplPosix.cc helper methods static


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)
 {




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]