summaryrefslogtreecommitdiff
path: root/cgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-08-20 13:29:52 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-08-20 13:29:52 +0000
commit58afacedd75d05e693acc42a6c281dbe81436c98 (patch)
treee189fa21cf5938f25ddfab790001556c309480d7 /cgps.c
parent76303686297fad86db19093af7aaa2aa403adc62 (diff)
downloadgpsd-58afacedd75d05e693acc42a6c281dbe81436c98.tar.gz
Warning and splint cleanup.
Diffstat (limited to 'cgps.c')
-rw-r--r--cgps.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cgps.c b/cgps.c
index 10d7f56d..b83da99c 100644
--- a/cgps.c
+++ b/cgps.c
@@ -306,15 +306,17 @@ int main(int argc, char *argv[])
(void)signal(SIGINT,die);
(void)signal(SIGHUP,die);
+ /*@ -onlytrans @*/
datawin = newwin(13, 45, 1, 0);
satellites = newwin(13, 35, 1, 45);
messages = newwin(0, 0, 14, 0);
+ /*@ +onlytrans @*/
(void)scrollok(messages, true);
(void)wsetscrreg(messages, 0, LINES-13);
(void)nodelay(messages,(bool)TRUE);
- mvprintw(0, 31, "cgps test client");
- refresh();
+ (void)mvprintw(0, 31, "cgps test client");
+ (void)refresh();
/* Do the initial field label setup. */
(void)mvwprintw(datawin, 1,5, "Time:");