summaryrefslogtreecommitdiff
path: root/Objective-C
diff options
context:
space:
mode:
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");