From 36e89a6fd0e167ea12390e53aaea6787eb929317 Mon Sep 17 00:00:00 2001 From: membar Date: Thu, 13 Nov 2003 10:09:40 +0000 Subject: [PATCH] * gnu/java/nio/natSelectorImplPosix.cc (helper_put_filedescriptors): Change to static linkage. (helper_get_filedescriptors): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73545 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 6 ++++++ libjava/gnu/java/nio/natSelectorImplPosix.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 928beee..8305269 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-11-13 Mohan Embar + + * gnu/java/nio/natSelectorImplPosix.cc + (helper_put_filedescriptors): Change to static linkage. + (helper_get_filedescriptors): Likewise. + 2003-11-12 Tom Fitzsimmons * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove diff --git a/libjava/gnu/java/nio/natSelectorImplPosix.cc b/libjava/gnu/java/nio/natSelectorImplPosix.cc index 8a5112f..8f1bb68 100644 --- a/libjava/gnu/java/nio/natSelectorImplPosix.cc +++ b/libjava/gnu/java/nio/natSelectorImplPosix.cc @@ -17,7 +17,7 @@ details. */ #include #include -void +static void helper_put_filedescriptors (jintArray fdArray, fd_set& fds, int& max_fd) { jint* tmpFDArray = elements (fdArray); @@ -31,7 +31,7 @@ helper_put_filedescriptors (jintArray fdArray, fd_set& fds, int& max_fd) } } -void +static void helper_get_filedescriptors (jintArray& fdArray, fd_set fds) { jint* tmpFDArray = elements (fdArray); -- 2.7.4