summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-03-09 01:38:42 +0000
committerwtchang%redhat.com <devnull@localhost>2005-03-09 01:38:42 +0000
commit3d9613a42a25783e67f8ea6ad60a915ec635794f (patch)
tree21cec240b1ff587832ce88cf6f784b5acd2452ea
parent6d40fc4939dc7a6ac500026fd21d5ea658ea3f9f (diff)
downloadnspr-hg-3d9613a42a25783e67f8ea6ad60a915ec635794f.tar.gz
Bugzilla Bug 281250: internal functions should not be defined with
PR_IMPLEMENT. Thanks to timeless@bemail.org for the bug report.
-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;