summaryrefslogtreecommitdiff
path: root/miscutils/adjtimex.c
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-20 11:17:48 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-20 11:17:48 +0000
commit1f0262bcdb352e9a75a4e5f48cd63d05714e2859 (patch)
treee191e1f4019e7b0daf47f9077e375588f77b3c6a /miscutils/adjtimex.c
parent0fa9deda1706b19e5f42ed392483a582880aaca3 (diff)
downloadbusybox-w32-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.tar.gz
busybox-w32-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.tar.bz2
busybox-w32-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.zip
another more const
Diffstat (limited to 'miscutils/adjtimex.c')
-rw-r--r--miscutils/adjtimex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c
index 110c02654..ec3e4fd62 100644
--- a/miscutils/adjtimex.c
+++ b/miscutils/adjtimex.c
@@ -47,7 +47,7 @@
47#include <sys/timex.h> 47#include <sys/timex.h>
48#include "busybox.h" 48#include "busybox.h"
49 49
50static struct {int bit; char *name;} statlist[] = { 50static const struct {int bit; const char *name;} statlist[] = {
51 { STA_PLL, "PLL" }, 51 { STA_PLL, "PLL" },
52 { STA_PPSFREQ, "PPSFREQ" }, 52 { STA_PPSFREQ, "PPSFREQ" },
53 { STA_PPSTIME, "PPSTIME" }, 53 { STA_PPSTIME, "PPSTIME" },
@@ -63,7 +63,7 @@ static struct {int bit; char *name;} statlist[] = {
63 { STA_CLOCKERR, "CLOCKERR" }, 63 { STA_CLOCKERR, "CLOCKERR" },
64 { 0, NULL } }; 64 { 0, NULL } };
65 65
66static char *ret_code_descript[] = { 66static const char * const ret_code_descript[] = {
67 "clock synchronized", 67 "clock synchronized",
68 "insert leap second", 68 "insert leap second",
69 "delete leap second", 69 "delete leap second",
@@ -88,7 +88,7 @@ int main(int argc, char ** argv)
88 struct timex txc; 88 struct timex txc;
89 int quiet=0; 89 int quiet=0;
90 int c, i, ret, sep; 90 int c, i, ret, sep;
91 char *descript; 91 const char *descript;
92 txc.modes=0; 92 txc.modes=0;
93 for (;;) { 93 for (;;) {
94 c = getopt( argc, argv, "qo:f:p:t:"); 94 c = getopt( argc, argv, "qo:f:p:t:");