summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/strofaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/strofaddr.c')
-rw-r--r--otherlibs/unix/strofaddr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/otherlibs/unix/strofaddr.c b/otherlibs/unix/strofaddr.c
index 4503f6c30..25d45a830 100644
--- a/otherlibs/unix/strofaddr.c
+++ b/otherlibs/unix/strofaddr.c
@@ -19,8 +19,7 @@
#include "socketaddr.h"
-value unix_string_of_inet_addr(a) /* ML */
- value a;
+value unix_string_of_inet_addr(value a) /* ML */
{
struct in_addr address;
address.s_addr = GET_INET_ADDR(a);
@@ -29,7 +28,7 @@ value unix_string_of_inet_addr(a) /* ML */
#else
-value unix_string_of_inet_addr()
+value unix_string_of_inet_addr(value a)
{ invalid_argument("string_of_inet_addr not implemented"); }
#endif