summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-02-06 23:20:19 +0000
committerwtchang%redhat.com <devnull@localhost>2006-02-06 23:20:19 +0000
commit768cb3f00324fc38adb30ce7cf49f97de3bc7fe5 (patch)
tree2de15e2a52b57ac95909a12925d800b955f53371
parent090b04d297bcb1d82ac13ac13509a9583cd15222 (diff)
downloadnspr-hg-768cb3f00324fc38adb30ce7cf49f97de3bc7fe5.tar.gz
Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax
with NSPR_API in a public header file so that they can be exported from the NSPR shared library/DLL. r=kengert,jpierre. Thanks to Noriko Hosoi <nhosoi@redhat.com> for the bug report. Tag: NSPR_4_6_BRANCH
-rw-r--r--pr/include/obsolete/probslet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pr/include/obsolete/probslet.h b/pr/include/obsolete/probslet.h
index 374e696c..fffd1ed8 100644
--- a/pr/include/obsolete/probslet.h
+++ b/pr/include/obsolete/probslet.h
@@ -158,6 +158,15 @@ NSPR_API(void) PR_FD_NSET(PRInt32 osfd, PR_fd_set *set);
NSPR_API(void) PR_FD_NCLR(PRInt32 osfd, PR_fd_set *set);
NSPR_API(PRInt32) PR_FD_NISSET(PRInt32 osfd, PR_fd_set *set);
+/*
+** The next two entry points should not be in the API, but they are
+** declared here for historical reasons.
+*/
+
+NSPR_API(PRInt32) PR_GetSysfdTableMax(void);
+
+NSPR_API(PRInt32) PR_SetSysfdTableSize(PRIntn table_size);
+
#ifndef NO_NSPR_10_SUPPORT
#ifdef XP_MAC
#include <stat.h>