Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp/dist/ntpq constify



details:   https://anonhg.NetBSD.org/src/rev/d3a54491a2b8
branches:  trunk
changeset: 749988:d3a54491a2b8
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 14 00:49:45 2009 +0000

description:
constify

diffstat:

 external/bsd/ntp/dist/ntpq/ntpq-subs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b89a4e7fe216 -r d3a54491a2b8 external/bsd/ntp/dist/ntpq/ntpq-subs.c
--- a/external/bsd/ntp/dist/ntpq/ntpq-subs.c    Mon Dec 14 00:47:10 2009 +0000
+++ b/external/bsd/ntp/dist/ntpq/ntpq-subs.c    Mon Dec 14 00:49:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntpq-subs.c,v 1.1.1.1 2009/12/13 16:56:29 kardel Exp $ */
+/*     $NetBSD: ntpq-subs.c,v 1.2 2009/12/14 00:49:45 christos Exp $   */
 
 /*
  * ntpq_ops.c - subroutines which are called to perform operations by ntpq
@@ -13,7 +13,7 @@
 #include "ntpq.h"
 #include "ntpq-opts.h"
 
-extern char *  chosts[];
+extern const char *    chosts[];
 extern char currenthost[];
 extern int     numhosts;
 int    maxhostlen;



Home | Main Index | Thread Index | Old Index