Module Name: src
Committed By: christos
Date: Mon Dec 14 00:49:46 UTC 2009
Modified Files:
src/external/bsd/ntp/dist/ntpq: ntpq-subs.c
Log Message:
constify
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/ntp/dist/ntpq/ntpq-subs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ntp/dist/ntpq/ntpq-subs.c
diff -u src/external/bsd/ntp/dist/ntpq/ntpq-subs.c:1.1.1.1 src/external/bsd/ntp/dist/ntpq/ntpq-subs.c:1.2
--- src/external/bsd/ntp/dist/ntpq/ntpq-subs.c:1.1.1.1 Sun Dec 13 11:56:29 2009
+++ src/external/bsd/ntp/dist/ntpq/ntpq-subs.c Sun Dec 13 19:49:45 2009
@@ -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;