summaryrefslogtreecommitdiff
path: root/monitor_italk.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-17 19:23:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-17 19:23:00 +0000
commitd678f81143a57f9a61e898c272f95da696848c62 (patch)
treea9f06307f3b649ca749ee8921caa261eb96e488a /monitor_italk.c
parentbc803dee5dcd2fa36b10398f4a081a8aac46e6fb (diff)
downloadgpsd-d678f81143a57f9a61e898c272f95da696848c62.tar.gz
Fix some whitespace glitches found while experimenting with indent(1).
All regression tests pass.
Diffstat (limited to 'monitor_italk.c')
-rw-r--r--monitor_italk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/monitor_italk.c b/monitor_italk.c
index 9d4a1f39..f2c3dd63 100644
--- a/monitor_italk.c
+++ b/monitor_italk.c
@@ -77,7 +77,7 @@ static bool italk_initialize(void)
/*@ +onlytrans @*/
}
-static void display_itk_navfix(unsigned char *buf, size_t len){
+static void display_itk_navfix(unsigned char *buf, size_t len) {
unsigned int tow, tod, nsec, d, svlist;
unsigned short gps_week, flags, cflags, pflags, nsv;
@@ -172,8 +172,8 @@ static void display_itk_navfix(unsigned char *buf, size_t len){
char prn[4], satlist[38];
unsigned int i;
satlist[0] = '\0';
- for(i = 0; i<32; i++){
- if (svlist & (1<<i)){
+ for(i = 0; i<32; i++) {
+ if (svlist & (1<<i)) {
(void)snprintf(prn, 4, "%u ", i+1);
(void)strlcat(satlist, prn, 38);
}
@@ -208,7 +208,7 @@ static void display_itk_prnstatus(unsigned char *buf, size_t len)
prn, az, el, ss, fl,
(fl & PRN_FLAG_USE_IN_NAV)? 'Y' : ' ');
}
- for ( ; i < MAX_NR_VISIBLE_PRNS; i++){
+ for ( ; i < MAX_NR_VISIBLE_PRNS; i++) {
(void)wmove(satwin, (int)i+2, 4);
(void)wprintw(satwin, " ");
}