Index: src/autorelease.h ================================================================== --- src/autorelease.h +++ src/autorelease.h @@ -26,11 +26,11 @@ /*! * @brief Creates a new autorelease pool. * * @return An identifier for the created autorelease pool */ -extern void *objc_autoreleasePoolPush(); +extern void *objc_autoreleasePoolPush(void); /*! * @brief Drains an autorelease pool. * * @param pool An identifier for the pool to drain Index: tests/OFBlockTests.m ================================================================== --- tests/OFBlockTests.m +++ tests/OFBlockTests.m @@ -32,11 +32,11 @@ extern void *_NSConcreteStackBlock; extern void *_NSConcreteGlobalBlock; extern void *_NSConcreteMallocBlock; -static void (^g)() = ^ {}; +static void (^g)(void) = ^ {}; static int (^returnStackBlock(void))(void) { __block int i = 42;