From 4167e6b9ec7c144bf259a820d7c958ecf7632c3f Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Fri, 21 Sep 2007 14:41:15 +0200 Subject: Prune yet another bunch of unused code chunks. darcs-hash:b90a1129a53bdc6fb3762a0d37bb797711d7037e --- Objective-C/libobjcl.h | 10 ++-------- Objective-C/libobjcl.m | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'Objective-C') diff --git a/Objective-C/libobjcl.h b/Objective-C/libobjcl.h index fae8636..c84dbb9 100644 --- a/Objective-C/libobjcl.h +++ b/Objective-C/libobjcl.h @@ -17,12 +17,6 @@ objcl_initialise_runtime (void); void objcl_shutdown_runtime (void); -OBJCL_OBJ_DATA -objcl_invoke_method (OBJCL_OBJ_DATA receiver, - SEL method_selector, - int argc, - ...); - id objcl_invoke_with_types (int argc, char *return_typespec, @@ -71,7 +65,7 @@ objcl_get_nil (void); /* In principle, we do not know whether a BOOL fits into a long. In practise, it is very likely. */ long -objcl_get_yes (); +objcl_get_yes (void); long -objcl_get_no (); +objcl_get_no (void); diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m index 11450f7..849eedf 100644 --- a/Objective-C/libobjcl.m +++ b/Objective-C/libobjcl.m @@ -230,7 +230,7 @@ objcl_get_nil (void) long -objcl_get_yes () +objcl_get_yes (void) { if (sizeof (YES) > sizeof (long)) fprintf (stderr, "WARNING: objcl_get_yes: YES might not fit into a long.\n"); @@ -239,7 +239,7 @@ objcl_get_yes () long -objcl_get_no () +objcl_get_no (void) { if (sizeof (NO) > sizeof (long)) fprintf (stderr, "WARNING: objcl_get_no: NO might not fit into a long.\n"); -- cgit v1.2.3