Module Name: src Committed By: dholland Date: Sat Mar 29 19:02:12 UTC 2014
Modified Files: src/games/hunt/huntd: get_names.c Log Message: const To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/games/hunt/huntd/get_names.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/hunt/huntd/get_names.c diff -u src/games/hunt/huntd/get_names.c:1.12 src/games/hunt/huntd/get_names.c:1.13 --- src/games/hunt/huntd/get_names.c:1.12 Sat Mar 29 19:01:00 2014 +++ src/games/hunt/huntd/get_names.c Sat Mar 29 19:02:12 2014 @@ -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;