Bugzilla bug 326110: use PR_IMPLEMENT with two exported functions.
Modified files: prfile.c ptio.c Tag: NSPR_4_6_BRANCH git-svn-id: svn://10.0.0.236/branches/NSPR_4_6_BRANCH@189275 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -412,7 +412,7 @@ PR_IMPLEMENT(PRFileDesc*) PR_OpenFile(
|
||||
return fd;
|
||||
}
|
||||
|
||||
PRInt32 PR_GetSysfdTableMax(void)
|
||||
PR_IMPLEMENT(PRInt32) PR_GetSysfdTableMax(void)
|
||||
{
|
||||
#if defined(XP_UNIX) && !defined(AIX) && !defined(NEXTSTEP) && !defined(QNX)
|
||||
struct rlimit rlim;
|
||||
@@ -445,7 +445,7 @@ PRInt32 PR_GetSysfdTableMax(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
PRInt32 PR_SetSysfdTableSize(int table_size)
|
||||
PR_IMPLEMENT(PRInt32) PR_SetSysfdTableSize(int table_size)
|
||||
{
|
||||
#if defined(XP_UNIX) && !defined(AIX) && !defined(NEXTSTEP) && !defined(QNX)
|
||||
struct rlimit rlim;
|
||||
|
||||
@@ -4583,7 +4583,7 @@ PR_IMPLEMENT(PRStatus) PR_UnlockFile(PRFileDesc *fd)
|
||||
* defined here for historical (or hysterical) reasons.
|
||||
*/
|
||||
|
||||
PRInt32 PR_GetSysfdTableMax(void)
|
||||
PR_IMPLEMENT(PRInt32) PR_GetSysfdTableMax(void)
|
||||
{
|
||||
#if defined(XP_UNIX) && !defined(AIX) && !defined(VMS)
|
||||
struct rlimit rlim;
|
||||
@@ -4597,7 +4597,7 @@ PRInt32 PR_GetSysfdTableMax(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
PRInt32 PR_SetSysfdTableSize(PRIntn table_size)
|
||||
PR_IMPLEMENT(PRInt32) PR_SetSysfdTableSize(PRIntn table_size)
|
||||
{
|
||||
#if defined(XP_UNIX) && !defined(AIX) && !defined(VMS)
|
||||
struct rlimit rlim;
|
||||
|
||||
Reference in New Issue
Block a user