From 42d2388f96721374d2648d32317c9a01e41b9ae8 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 7 Sep 1996 21:07:27 +0000 Subject: [PATCH] Remove underscores from front of objc_mutex types. ([NSObject -error:]): Use objc_verror(), not _objc_error. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1736 72102866-910b-0410-8b05-ffd578937521 --- Source/NSObject.m | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/NSObject.m b/Source/NSObject.m index 0f7d0f845..6928bd23d 100644 --- a/Source/NSObject.m +++ b/Source/NSObject.m @@ -34,8 +34,6 @@ #include #include -extern void (*_objc_error)(id object, const char *format, va_list); - /* Reference count management */ @@ -45,10 +43,10 @@ extern void (*_objc_error)(id object, const char *format, va_list); /* The maptable of retain counts on objects */ static o_map_t *retain_counts = NULL; /* The mutex lock to protect multi-threaded use of `retain_counts' */ -static _objc_mutex_t retain_counts_gate = NULL; +static objc_mutex_t retain_counts_gate = NULL; /* The mutex lock to protect RETAIN_COUNTS. */ -static _objc_mutex_t retain_counts_gate; +static objc_mutex_t retain_counts_gate; /* The Class responsible for handling autorelease's. This does not need mutex protection, since it is simply a pointer that gets read @@ -491,7 +489,8 @@ NSDecrementExtraRefCountWasZero (id anObject) object_is_instance(self)?"instance":"class", (aString!=NULL)?aString:""); va_start(ap, aString); - (*_objc_error)(self, fmt, ap); + /* xxx What should `code' argument be? Current 0. */ + objc_verror (self, 0, fmt, ap); va_end(ap); return nil; #undef FMT