diff options
author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-20 11:17:48 +0000 |
---|---|---|
committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-20 11:17:48 +0000 |
commit | b18d17b1b35fb9a413b085512568c7f589d24b8b (patch) | |
tree | e191e1f4019e7b0daf47f9077e375588f77b3c6a /miscutils | |
parent | 7dfd514f172c48039e71d235a0abb2160e9282be (diff) | |
download | busybox-w32-b18d17b1b35fb9a413b085512568c7f589d24b8b.tar.gz busybox-w32-b18d17b1b35fb9a413b085512568c7f589d24b8b.tar.bz2 busybox-w32-b18d17b1b35fb9a413b085512568c7f589d24b8b.zip |
another more const
git-svn-id: svn://busybox.net/trunk/busybox@11897 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/adjtimex.c | 6 |
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 | ||
50 | static struct {int bit; char *name;} statlist[] = { | 50 | static 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 | ||
66 | static char *ret_code_descript[] = { | 66 | static 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:"); |