diff options
Diffstat (limited to 'otherlibs/unix/addrofstr.c')
-rw-r--r-- | otherlibs/unix/addrofstr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/otherlibs/unix/addrofstr.c b/otherlibs/unix/addrofstr.c index 4efdb0637..1af25f475 100644 --- a/otherlibs/unix/addrofstr.c +++ b/otherlibs/unix/addrofstr.c @@ -19,8 +19,7 @@ #include "socketaddr.h" -value unix_inet_addr_of_string(s) /* ML */ - value s; +value unix_inet_addr_of_string(value s) /* ML */ { unsigned int address; address = inet_addr(String_val(s)); @@ -30,7 +29,7 @@ value unix_inet_addr_of_string(s) /* ML */ #else -value unix_inet_addr_of_string() +value unix_inet_addr_of_string(value s) { invalid_argument("inet_addr_of_string not implemented"); } #endif |