diff options
author | wtchang%redhat.com <devnull@localhost> | 2006-02-07 01:26:37 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2006-02-07 01:26:37 +0000 |
commit | 696fa68c2253b63990c209a23b26db59bbf9a06d (patch) | |
tree | 83cdc8e66646f30b4677e459120defa7ff4c6b73 | |
parent | e7dc7adda4822041f3f20ee36b66e7495ac5bc50 (diff) | |
download | nspr-hg-696fa68c2253b63990c209a23b26db59bbf9a06d.tar.gz |
Bugzilla bug 326110: use PR_IMPLEMENT with two exported functions.
Modified files: prfile.c ptio.c
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r-- | pr/src/io/prfile.c | 4 | ||||
-rw-r--r-- | pr/src/pthreads/ptio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pr/src/io/prfile.c b/pr/src/io/prfile.c index 6aa736d4..5b4c0742 100644 --- a/pr/src/io/prfile.c +++ b/pr/src/io/prfile.c @@ -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; diff --git a/pr/src/pthreads/ptio.c b/pr/src/pthreads/ptio.c index c8465aad..ee4782db 100644 --- a/pr/src/pthreads/ptio.c +++ b/pr/src/pthreads/ptio.c @@ -4585,7 +4585,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; @@ -4599,7 +4599,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; |