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
This commit is contained in:
@@ -14,7 +14,10 @@
|
||||
#include "libbb.h"
|
||||
#include <sys/timex.h>
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user