diff options
| author | Xin LI <delphij@FreeBSD.org> | 2016-01-08 08:06:14 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2016-01-08 08:06:14 +0000 |
| commit | c373d9289d1987abe45e339b5aa37f05460e977f (patch) | |
| tree | eacecf05ade498902c426d07b76ce3d5e1306ffe /libparse | |
| parent | 49b7d963372f963c2eab9435fa69aa1f61326111 (diff) | |
Diffstat (limited to 'libparse')
| -rw-r--r-- | libparse/clk_computime.c | 2 | ||||
| -rw-r--r-- | libparse/clk_dcf7000.c | 2 | ||||
| -rw-r--r-- | libparse/clk_hopf6021.c | 2 | ||||
| -rw-r--r-- | libparse/clk_meinberg.c | 4 | ||||
| -rw-r--r-- | libparse/clk_rawdcf.c | 2 | ||||
| -rw-r--r-- | libparse/clk_rcc8000.c | 2 | ||||
| -rw-r--r-- | libparse/clk_schmid.c | 2 | ||||
| -rw-r--r-- | libparse/clk_trimtaip.c | 2 | ||||
| -rw-r--r-- | libparse/clk_varitext.c | 12 | ||||
| -rw-r--r-- | libparse/clk_wharton.c | 2 | ||||
| -rw-r--r-- | libparse/parse.c | 2 |
11 files changed, 17 insertions, 17 deletions
diff --git a/libparse/clk_computime.c b/libparse/clk_computime.c index 5026232ea5f0..7273ac762e37 100644 --- a/libparse/clk_computime.c +++ b/libparse/clk_computime.c @@ -157,7 +157,7 @@ inp_computime( { unsigned int rtc; - parseprintf(DD_PARSE, ("inp_computime(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_computime(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch (ch) { diff --git a/libparse/clk_dcf7000.c b/libparse/clk_dcf7000.c index f1da9ef8484e..0621cd5649e4 100644 --- a/libparse/clk_dcf7000.c +++ b/libparse/clk_dcf7000.c @@ -158,7 +158,7 @@ inp_dcf7000( { unsigned int rtc; - parseprintf(DD_PARSE, ("inp_dcf7000(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_dcf7000(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch (ch) { diff --git a/libparse/clk_hopf6021.c b/libparse/clk_hopf6021.c index 357ac2ec0f15..235962890f8c 100644 --- a/libparse/clk_hopf6021.c +++ b/libparse/clk_hopf6021.c @@ -227,7 +227,7 @@ inp_hopf6021( { unsigned int rtc; - parseprintf(DD_PARSE, ("inp_hopf6021(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_hopf6021(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch (ch) { diff --git a/libparse/clk_meinberg.c b/libparse/clk_meinberg.c index 9d2b676381c6..e4ebf0acc605 100644 --- a/libparse/clk_meinberg.c +++ b/libparse/clk_meinberg.c @@ -434,7 +434,7 @@ mbg_input( { unsigned int rtc; - parseprintf(DD_PARSE, ("mbg_input(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("mbg_input(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch (ch) { @@ -602,7 +602,7 @@ gps_input( msg_buf = (struct msg_buf *)parseio->parse_pdata; - parseprintf(DD_PARSE, ("gps_input(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("gps_input(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); if (!msg_buf) return PARSE_INP_SKIP; diff --git a/libparse/clk_rawdcf.c b/libparse/clk_rawdcf.c index ca4326336f88..e22ebb0a4808 100644 --- a/libparse/clk_rawdcf.c +++ b/libparse/clk_rawdcf.c @@ -627,7 +627,7 @@ inp_rawdcf( { static struct timeval timeout = { 1, 500000 }; /* 1.5 secongs denote second #60 */ - parseprintf(DD_PARSE, ("inp_rawdcf(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_rawdcf(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); parseio->parse_dtime.parse_stime = *tstamp; /* collect timestamp */ diff --git a/libparse/clk_rcc8000.c b/libparse/clk_rcc8000.c index a690e588b91b..11d52acc5a24 100644 --- a/libparse/clk_rcc8000.c +++ b/libparse/clk_rcc8000.c @@ -141,7 +141,7 @@ inp_rcc8000( { unsigned int rtc; - parseprintf(DD_PARSE, ("inp_rcc8000(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_rcc8000(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch (ch) { diff --git a/libparse/clk_schmid.c b/libparse/clk_schmid.c index c4f02b07ad13..d85b1a5da512 100644 --- a/libparse/clk_schmid.c +++ b/libparse/clk_schmid.c @@ -205,7 +205,7 @@ inp_schmid( { unsigned int rtc; - parseprintf(DD_PARSE, ("inp_schmid(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_schmid(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch ((uint8_t)ch) { diff --git a/libparse/clk_trimtaip.c b/libparse/clk_trimtaip.c index 426e897bec97..a60d01ec1870 100644 --- a/libparse/clk_trimtaip.c +++ b/libparse/clk_trimtaip.c @@ -155,7 +155,7 @@ inp_trimtaip( { 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) { diff --git a/libparse/clk_varitext.c b/libparse/clk_varitext.c index 022549e82f4a..0d830354d799 100644 --- a/libparse/clk_varitext.c +++ b/libparse/clk_varitext.c @@ -58,12 +58,12 @@ extern int printf (const char *, ...); #endif -static const u_char VT_INITIALISED = 0x01; -static const u_char VT_SYNCHRONISED = 0x02; -static const u_char VT_ALARM_STATE = 0x04; +/* static const u_char VT_INITIALISED = 0x01; */ +/* static const u_char VT_SYNCHRONISED = 0x02; */ +/* static const u_char VT_ALARM_STATE = 0x04; */ static const u_char VT_BST = 0x08; -static const u_char VT_SEASON_CHANGE = 0x10; -static const u_char VT_LAST_TELEGRAM_OK = 0x20; +/* static const u_char VT_SEASON_CHANGE = 0x10; */ +/* static const u_char VT_LAST_TELEGRAM_OK = 0x20; */ /* * The Varitext receiver sends a datagram in the following format every minute @@ -195,7 +195,7 @@ inp_varitext( struct varitext *t = (struct varitext *)parseio->parse_pdata; int rtc; - parseprintf(DD_PARSE, ("inp_varitext(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_varitext(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); if (!t) return PARSE_INP_SKIP; /* local data not allocated - sigh! */ diff --git a/libparse/clk_wharton.c b/libparse/clk_wharton.c index a65bc53860e6..e9e3d84644ac 100644 --- a/libparse/clk_wharton.c +++ b/libparse/clk_wharton.c @@ -137,7 +137,7 @@ inp_wharton_400a( { unsigned int rtc; - parseprintf(DD_PARSE, ("inp_wharton_400a(0x%lx, 0x%x, ...)\n", (long)parseio, ch)); + parseprintf(DD_PARSE, ("inp_wharton_400a(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); switch (ch) { diff --git a/libparse/parse.c b/libparse/parse.c index 64167f152029..69395ac4a560 100644 --- a/libparse/parse.c +++ b/libparse/parse.c @@ -288,7 +288,7 @@ parse_ioread( break; } - parseprintf(DD_PARSE, ("parse_ioread(0x%lx, char=0x%x, ..., ...)\n", (unsigned long)parseio, ch & 0xFF)); + parseprintf(DD_PARSE, ("parse_ioread(0x%p, char=0x%x, ..., ...)\n", (void*)parseio, ch & 0xFF)); if (!clockformats[parseio->parse_lformat]->convert) { |
