summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-03-09 01:57:45 +0000
committerwtchang%redhat.com <devnull@localhost>2005-03-09 01:57:45 +0000
commitb656efeea8a518b03c4fa54156b27457d153762b (patch)
tree5af7602fc6a9aac8fe148cf7701eda96710e077b
parent27265a7294bb76f5019da23d42b78a7d906e28b4 (diff)
downloadnspr-hg-b656efeea8a518b03c4fa54156b27457d153762b.tar.gz
Bugzilla Bug 281250: internal functions should not be defined with
PR_IMPLEMENT. Thanks to timeless@bemail.org for the bug report. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/src/md/unix/unix.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/pr/src/md/unix/unix.c b/pr/src/md/unix/unix.c
index c69a233a..7ed6f0f9 100644
--- a/pr/src/md/unix/unix.c
+++ b/pr/src/md/unix/unix.c
@@ -133,7 +133,7 @@ _PRInterruptTable _pr_interruptTable[] = {
0 }
};
-PR_IMPLEMENT(void) _MD_unix_init_running_cpu(_PRCPU *cpu)
+void _MD_unix_init_running_cpu(_PRCPU *cpu)
{
PR_INIT_CLIST(&(cpu->md.md_unix.ioQ));
cpu->md.md_unix.ioq_max_osfd = -1;
@@ -3337,7 +3337,7 @@ void PR_XNotifyAll(void)
#if defined(HAVE_FCNTL_FILE_LOCKING)
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_LockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3354,7 +3354,7 @@ _MD_LockFile(PRInt32 f)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_TLockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3371,7 +3371,7 @@ _MD_TLockFile(PRInt32 f)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_UnlockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3392,7 +3392,7 @@ _MD_UnlockFile(PRInt32 f)
#include <sys/file.h>
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_LockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3403,7 +3403,7 @@ _MD_LockFile(PRInt32 f)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_TLockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3414,7 +3414,7 @@ _MD_TLockFile(PRInt32 f)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_UnlockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3426,7 +3426,7 @@ _MD_UnlockFile(PRInt32 f)
}
#else
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_LockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3437,7 +3437,7 @@ _MD_LockFile(PRInt32 f)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_TLockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3448,7 +3448,7 @@ _MD_TLockFile(PRInt32 f)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus)
+PRStatus
_MD_UnlockFile(PRInt32 f)
{
PRInt32 rv;
@@ -3460,7 +3460,7 @@ _MD_UnlockFile(PRInt32 f)
}
#endif
-PR_IMPLEMENT(PRStatus) _MD_gethostname(char *name, PRUint32 namelen)
+PRStatus _MD_gethostname(char *name, PRUint32 namelen)
{
PRIntn rv;
@@ -3472,7 +3472,7 @@ PR_IMPLEMENT(PRStatus) _MD_gethostname(char *name, PRUint32 namelen)
return PR_FAILURE;
}
-PR_IMPLEMENT(PRStatus) _MD_getsysinfo(PRSysInfo cmd, char *name, PRUint32 namelen)
+PRStatus _MD_getsysinfo(PRSysInfo cmd, char *name, PRUint32 namelen)
{
struct utsname info;