diff options
author | wtc <devnull@localhost> | 1998-04-07 20:36:46 +0000 |
---|---|---|
committer | wtc <devnull@localhost> | 1998-04-07 20:36:46 +0000 |
commit | ebccffddc765f3f612cfa763167b877f2162eb1e (patch) | |
tree | c83677cc61bcc96189883425e8be6b386aa9ba74 | |
parent | 6926951458a3a7fd7e214cc9330988e591a6b583 (diff) | |
download | nspr-hg-ebccffddc765f3f612cfa763167b877f2162eb1e.tar.gz |
Fixed the return type of the _PR_MD_ATOMIC_XXX routines. They
should return PRInt32, not void. (Reported by William A. Law,
law@netscape.com.)
-rw-r--r-- | pr/include/private/primpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pr/include/private/primpl.h b/pr/include/private/primpl.h index 4677892b..5cfbf3a2 100644 --- a/pr/include/private/primpl.h +++ b/pr/include/private/primpl.h @@ -1527,13 +1527,13 @@ PR_EXTERN(PRIntn) _PR_MD_PUT_ENV(const char *name); void _PR_MD_INIT_ATOMIC(void); #define _PR_MD_INIT_ATOMIC _MD_INIT_ATOMIC -PR_EXTERN(void) _PR_MD_ATOMIC_INCREMENT(PRInt32 *); +PR_EXTERN(PRInt32) _PR_MD_ATOMIC_INCREMENT(PRInt32 *); #define _PR_MD_ATOMIC_INCREMENT _MD_ATOMIC_INCREMENT -PR_EXTERN(void) _PR_MD_ATOMIC_DECREMENT(PRInt32 *); +PR_EXTERN(PRInt32) _PR_MD_ATOMIC_DECREMENT(PRInt32 *); #define _PR_MD_ATOMIC_DECREMENT _MD_ATOMIC_DECREMENT -PR_EXTERN(void) _PR_MD_ATOMIC_SET(PRInt32 *, PRInt32); +PR_EXTERN(PRInt32) _PR_MD_ATOMIC_SET(PRInt32 *, PRInt32); #define _PR_MD_ATOMIC_SET _MD_ATOMIC_SET /* Segment related */ |