summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getpeername.c')
-rw-r--r--otherlibs/unix/getpeername.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/getpeername.c b/otherlibs/unix/getpeername.c
index 3f00060af..0b3624622 100644
--- a/otherlibs/unix/getpeername.c
+++ b/otherlibs/unix/getpeername.c
@@ -18,8 +18,7 @@
#include "socketaddr.h"
-value unix_getpeername(sock) /* ML */
- value sock;
+value unix_getpeername(value sock) /* ML */
{
int retcode;
@@ -31,6 +30,7 @@ value unix_getpeername(sock) /* ML */
#else
-value unix_getpeername() { invalid_argument("getpeername not implemented"); }
+value unix_getpeername(value sock)
+{ invalid_argument("getpeername not implemented"); }
#endif