From 1373a38edfb2b4b6543b815914fc2af4aa58ddec Mon Sep 17 00:00:00 2001 From: rfm Date: Thu, 25 Feb 2010 09:24:40 +0000 Subject: [PATCH] Avoid warnings git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29735 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Source/ObjectiveC2/blocks_runtime.m | 1 + Source/ObjectiveC2/runtime.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9858dceff..3f0469400 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-02-25 Richard Frith-Macdonald + + * Source/ObjectiveC2/runtime.c: + * Source/ObjectiveC2/blocks_runtime.m: + Avoid compiler warnings. + 2010-02-25 Richard Frith-Macdonald * Source/NSAssertionHandler.m: diff --git a/Source/ObjectiveC2/blocks_runtime.m b/Source/ObjectiveC2/blocks_runtime.m index 817d2dbff..25e0151da 100644 --- a/Source/ObjectiveC2/blocks_runtime.m +++ b/Source/ObjectiveC2/blocks_runtime.m @@ -26,6 +26,7 @@ #import "blocks_runtime.h" #import "runtime.h" #include +#include #include #include diff --git a/Source/ObjectiveC2/runtime.c b/Source/ObjectiveC2/runtime.c index 5160cf60e..38c8fdb8b 100644 --- a/Source/ObjectiveC2/runtime.c +++ b/Source/ObjectiveC2/runtime.c @@ -68,7 +68,7 @@ void __objc_update_dispatch_table_for_class(Class); * Private runtime function for determining whether a class responds to a * selector. */ -BOOL __objc_responds_to(Class, SEL); +BOOL __objc_responds_to(id, SEL); /** * Runtime library constant for uninitialized dispatch table. */