diff options
author | wtc%netscape.com <devnull@localhost> | 2001-05-09 14:36:42 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-05-09 14:36:42 +0000 |
commit | 4d7780d68348df1b308f8d1223ab10d0bf2a42cd (patch) | |
tree | e49435eedf708d6ee4f4e32b6cf28ca4f4cf976d | |
parent | 6c5cc1f6167d0146243d2ed469875d747beff19c (diff) | |
download | nspr-hg-4d7780d68348df1b308f8d1223ab10d0bf2a42cd.tar.gz |
Bugzilla bug #76896: added PR_CALLBACK for OS/2. Thanks to Michael KaplyStyle_20010518_Base
<mkaply@us.ibm.com> for the patch.
Modified files: prcmon.h, prthread.h, prtime.h
(NSPRPUB_CLIENT_BRANCH)
-rw-r--r-- | pr/include/prcmon.h | 2 | ||||
-rw-r--r-- | pr/include/prthread.h | 2 | ||||
-rw-r--r-- | pr/include/prtime.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pr/include/prcmon.h b/pr/include/prcmon.h index 1cb21cce..073db78b 100644 --- a/pr/include/prcmon.h +++ b/pr/include/prcmon.h @@ -72,7 +72,7 @@ NSPR_API(PRStatus) PR_CNotifyAll(void *address); ** Set a callback to be invoked each time a monitor is recycled from the cache ** freelist, with the monitor's cache-key passed in address. */ -NSPR_API(void) PR_CSetOnMonitorRecycle(void (*callback)(void *address)); +NSPR_API(void) PR_CSetOnMonitorRecycle(void (PR_CALLBACK *callback)(void *address)); PR_END_EXTERN_C diff --git a/pr/include/prthread.h b/pr/include/prthread.h index ebf0cc33..6ec53499 100644 --- a/pr/include/prthread.h +++ b/pr/include/prthread.h @@ -116,7 +116,7 @@ typedef enum PRThreadPriority ** PR_USER_THREAD to exit then the process exits. */ NSPR_API(PRThread*) PR_CreateThread(PRThreadType type, - void (*start)(void *arg), + void (PR_CALLBACK *start)(void *arg), void *arg, PRThreadPriority priority, PRThreadScope scope, diff --git a/pr/include/prtime.h b/pr/include/prtime.h index 9f1f6ae0..7a670942 100644 --- a/pr/include/prtime.h +++ b/pr/include/prtime.h @@ -136,7 +136,7 @@ typedef struct PRExplodedTime { * to GMT before applying the DST rules. */ -typedef PRTimeParameters (PR_CALLBACK_DECL *PRTimeParamFn)(const PRExplodedTime *gmt); +typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt); /**********************************************************************/ /****************************** FUNCTIONS *****************************/ |