From 6ca409e0e4c198fe3081346eebbae3f068fe605a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 12 Aug 2007 20:58:27 +0000 Subject: trylink: produce even more info about final link stage trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k --- miscutils/adjtimex.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'miscutils/adjtimex.c') diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index 9f8227cf0..1e6d15fa7 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c @@ -14,7 +14,10 @@ #include "libbb.h" #include -static const struct {int bit; const char *name;} statlist[] = { +static const struct { + int bit; + const char *name; +} statlist[] = { { STA_PLL, "PLL" }, { STA_PPSFREQ, "PPSFREQ" }, { STA_PPSTIME, "PPSTIME" }, @@ -28,15 +31,17 @@ static const struct {int bit; const char *name;} statlist[] = { { STA_PPSWANDER, "PPSWANDER" }, { STA_PPSERROR, "PPSERROR" }, { STA_CLOCKERR, "CLOCKERR" }, - { 0, NULL } }; + { 0, NULL } +}; -static const char * const ret_code_descript[] = { +static const char *const ret_code_descript[] = { "clock synchronized", "insert leap second", "delete leap second", "leap second in progress", "leap second has occurred", - "clock not synchronized" }; + "clock not synchronized" +}; int adjtimex_main(int argc, char **argv); int adjtimex_main(int argc, char **argv) -- cgit v1.2.3