From c5f0bd3b5e51202e4434f1643c1c83ea92963b6b Mon Sep 17 00:00:00 2001 From: wtc Date: Tue, 7 Apr 1998 20:36:46 +0000 Subject: [PATCH] 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.) --- nsprpub/pr/include/private/primpl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nsprpub/pr/include/private/primpl.h b/nsprpub/pr/include/private/primpl.h index 4677892b1d3e..5cfbf3a262be 100644 --- a/nsprpub/pr/include/private/primpl.h +++ b/nsprpub/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 */