From 6f8367e238e03f94d7cad37b751809e6c86c5fd0 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 4 Jul 2009 01:58:57 +0000 Subject: ANSIfy function declarations. --- hunt/huntd/get_names.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'hunt/huntd/get_names.c') diff --git a/hunt/huntd/get_names.c b/hunt/huntd/get_names.c index 7acda59e..9c6c7ecf 100644 --- a/hunt/huntd/get_names.c +++ b/hunt/huntd/get_names.c @@ -1,4 +1,4 @@ -/* $NetBSD: get_names.c,v 1.8 2009/07/04 01:01:18 dholland Exp $ */ +/* $NetBSD: get_names.c,v 1.9 2009/07/04 02:37:20 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: get_names.c,v 1.8 2009/07/04 01:01:18 dholland Exp $"); +__RCSID("$NetBSD: get_names.c,v 1.9 2009/07/04 02:37:20 dholland Exp $"); #endif /* not lint */ #include "bsd.h" @@ -55,8 +55,7 @@ char *my_machine_name; * Determine the local user and machine */ void -get_local_name(my_name) - char *my_name; +get_local_name(char *my_name) { struct hostent *hp; struct servent *sp; @@ -112,8 +111,7 @@ get_local_name(my_name) * Determine the remote user and machine */ int -get_remote_name(his_address) - char *his_address; +get_remote_name(char *his_address) { char *his_name; char *his_machine_name; -- cgit v1.2.3-56-ge451