aboutsummaryrefslogtreecommitdiffstats
path: root/hostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostname.c')
-rw-r--r--hostname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hostname.c b/hostname.c
index d2e0471b..c497dc5a 100644
--- a/hostname.c
+++ b/hostname.c
@@ -1,7 +1,6 @@
#include "defs.h"
-int
-sys_sethostname(struct tcb *tcp)
+SYS_FUNC(sethostname)
{
if (entering(tcp)) {
printstr(tcp, tcp->u_arg[0], tcp->u_arg[1]);
@@ -11,8 +10,7 @@ sys_sethostname(struct tcb *tcp)
}
#if defined(ALPHA)
-int
-sys_gethostname(struct tcb *tcp)
+SYS_FUNC(gethostname)
{
if (exiting(tcp)) {
if (syserror(tcp))