Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/hunt/huntd const



details:   https://anonhg.NetBSD.org/src/rev/5518a8fb30d1
branches:  trunk
changeset: 794961:5518a8fb30d1
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 29 19:02:12 2014 +0000

description:
const

diffstat:

 games/hunt/huntd/get_names.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r ced041f83b43 -r 5518a8fb30d1 games/hunt/huntd/get_names.c
--- a/games/hunt/huntd/get_names.c      Sat Mar 29 19:01:00 2014 +0000
+++ b/games/hunt/huntd/get_names.c      Sat Mar 29 19:02:12 2014 +0000
@@ -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 @@
 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;
 



Home | Main Index | Thread Index | Old Index