Hide some mistakenlt external symbols

This commit is contained in:
rfm 2025-02-09 12:49:56 +00:00
parent 48f01b610d
commit 5fa8a06531
10 changed files with 35 additions and 28 deletions

View file

@ -608,12 +608,12 @@ NSDecrementExtraRefCountWasZero(id anObject)
return release_fast_no_destroy(anObject);
}
size_t object_getRetainCount_np_internal(id anObject)
static size_t object_getRetainCount_np_internal(id anObject)
{
return ((obj)anObject)[-1].retained + 1;
}
size_t getRetainCount(id anObject)
static size_t getRetainCount(id anObject)
{
#ifdef __GNUSTEP_RUNTIME__
if (object_getRetainCount_np)