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.
This commit is contained in:
wtchang%redhat.com 2006-02-06 23:13:10 +00:00
parent a51f6f8131
commit 249ce5f308

View File

@ -159,6 +159,15 @@ NSPR_API(void) PR_FD_NSET(PROsfd osfd, PR_fd_set *set);
NSPR_API(void) PR_FD_NCLR(PROsfd osfd, PR_fd_set *set);
NSPR_API(PRInt32) PR_FD_NISSET(PROsfd 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>