summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pr/include/prcmon.h2
-rw-r--r--pr/include/prthread.h2
-rw-r--r--pr/include/prtime.h2
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 *****************************/