diff -r 4feced261c68 -r de822cd3df3a misc/libphysfs/platform_macosx.c --- a/misc/libphysfs/platform_macosx.c Tue Jan 21 22:38:13 2014 +0100 +++ b/misc/libphysfs/platform_macosx.c Tue Jan 21 22:43:06 2014 +0100 @@ -38,7 +38,7 @@ doesn't work; once a symbol is marked as hidden, it stays that way. */ void __eprintf (const char *string, const char *expression, - unsigned int line, const char *filename) + unsigned int line, const char *filename) { fprintf(stderr, string, expression, line, filename); fflush(stderr); @@ -144,7 +144,7 @@ if (!IOObjectConformsTo(service, kIOMediaClass)) return 0; - + wholeMedia = IORegistryEntryCreateCFProperty(service, CFSTR(kIOMediaWholeKey), cfallocator, 0); @@ -180,7 +180,7 @@ rc = IORegistryEntryCreateIterator(service, kIOServicePlane, kIORegistryIterateRecursively | kIORegistryIterateParents, &iter); - + if (!iter) return 0; @@ -204,7 +204,7 @@ } /* if */ IOObjectRelease(service); } while ((service = IOIteratorNext(iter)) && (!retval)); - + IOObjectRelease(iter); IOObjectRelease(service);