summaryrefslogtreecommitdiff
path: root/Objective-C
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-09-21 14:41:15 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-09-21 14:41:15 +0200
commit4167e6b9ec7c144bf259a820d7c958ecf7632c3f (patch)
tree49ea779302dd9f5726e1bbdc3528c0973d28aace /Objective-C
parentb8c9eac7390219c71b67c6022a1cf1203d609d87 (diff)
Prune yet another bunch of unused code chunks.
darcs-hash:b90a1129a53bdc6fb3762a0d37bb797711d7037e
Diffstat (limited to 'Objective-C')
-rw-r--r--Objective-C/libobjcl.h10
-rw-r--r--Objective-C/libobjcl.m4
2 files changed, 4 insertions, 10 deletions
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");