Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/ntp/libparse/clk_trimtaip.c
Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | |||||
inp_trimtaip( | inp_trimtaip( | ||||
parse_t *parseio, | parse_t *parseio, | ||||
char ch, | char ch, | ||||
timestamp_t *tstamp | timestamp_t *tstamp | ||||
) | ) | ||||
{ | { | ||||
unsigned int rtc; | unsigned int rtc; | ||||
parseprintf(DD_PARSE, ("inp_trimtaip(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); | parseprintf(DD_PARSE, ("inp_trimtaip(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); | ||||
switch (ch) | switch (ch) | ||||
{ | { | ||||
case '>': | case '>': | ||||
parseprintf(DD_PARSE, ("inp_trimptaip: START seen\n")); | parseprintf(DD_PARSE, ("inp_trimptaip: START seen\n")); | ||||
parseio->parse_index = 1; | parseio->parse_index = 1; | ||||
parseio->parse_data[0] = ch; | parseio->parse_data[0] = ch; | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |