summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-29 19:02:12 +0000
committerdholland <dholland@NetBSD.org>2014-03-29 19:02:12 +0000
commit67dffe9c825f77d6fb27d662732bfb27c2f1f5a2 (patch)
tree888c67dc41008eba311022fef47669cf32d0ff06 /hunt
parent89b01be26907d5a1948344d5f04bb48dc0723da8 (diff)
downloadbsdgames-darwin-67dffe9c825f77d6fb27d662732bfb27c2f1f5a2.tar.gz
bsdgames-darwin-67dffe9c825f77d6fb27d662732bfb27c2f1f5a2.tar.zst
bsdgames-darwin-67dffe9c825f77d6fb27d662732bfb27c2f1f5a2.zip
const
Diffstat (limited to 'hunt')
-rw-r--r--hunt/huntd/get_names.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/huntd/get_names.c b/hunt/huntd/get_names.c
index ad02d71a..9453ce61 100644
--- a/hunt/huntd/get_names.c
+++ b/hunt/huntd/get_names.c
@@ -1,4 +1,4 @@
-/* $NetBSD: get_names.c,v 1.12 2014/03/29 19:01:00 dholland Exp $ */
+/* $NetBSD: get_names.c,v 1.13 2014/03/29 19:02:12 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: get_names.c,v 1.12 2014/03/29 19:01:00 dholland Exp $");
+__RCSID("$NetBSD: get_names.c,v 1.13 2014/03/29 19:02:12 dholland Exp $");
#endif /* not lint */
#include "bsd.h"
@@ -113,8 +113,8 @@ get_local_name(char *my_name)
int
get_remote_name(char *his_address)
{
- char *his_name;
- char *his_machine_name;
+ const char *his_name;
+ const char *his_machine_name;
char *ptr;
struct hostent *hp;