X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/0a7506c9bdc0d0d560d4b9c8a3d1089f5db425b9..b5d655f7532a546b54809da387f7467d128a756b:/gmon/gmon.c diff --git a/gmon/gmon.c b/gmon/gmon.c index 9770f3b..8d5710a 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -212,8 +212,7 @@ void) * above calls so the dynamic libraries will be added after the * executable. */ - if(_dyld_present()) - _dyld_moninit(monaddition); + _dyld_moninit(monaddition); #endif } @@ -445,7 +444,7 @@ const char *filename) write(fd, &magic, sizeof(uint32_t)); #if defined(__DYNAMIC__) - if(_dyld_present()){ + { image_count = _dyld_image_count(); if(image_count > 1){ #ifdef DYLD_DEBUG