summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/shutdown.c')
-rw-r--r--otherlibs/unix/shutdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/shutdown.c b/otherlibs/unix/shutdown.c
index 96098b7c5..0117f7947 100644
--- a/otherlibs/unix/shutdown.c
+++ b/otherlibs/unix/shutdown.c
@@ -22,8 +22,7 @@ static int shutdown_command_table[] = {
0, 1, 2
};
-value unix_shutdown(sock, cmd) /* ML */
- value sock, cmd;
+value unix_shutdown(value sock, value cmd) /* ML */
{
if (shutdown(Int_val(sock), shutdown_command_table[Int_val(cmd)]) == -1)
uerror("shutdown", Nothing);
@@ -32,6 +31,7 @@ value unix_shutdown(sock, cmd) /* ML */
#else
-value unix_shutdown() { invalid_argument("shutdown not implemented"); }
+value unix_shutdown(value sock, value cmd)
+{ invalid_argument("shutdown not implemented"); }
#endif