gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] ppsthread.c: delete more stray commas


From: Beat Bolli
Subject: [gpsd-dev] [PATCH] ppsthread.c: delete more stray commas
Date: Wed, 1 Jan 2014 12:35:15 +0100

(Could be squashed into the previous commit)

Signed-off-by: Beat Bolli <address@hidden>
---
 ppsthread.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ppsthread.c b/ppsthread.c
index 6d64ef5..d9e431e 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -338,7 +338,7 @@ static /address@hidden@*/ void *gpsd_ppsmonitor(void *arg)
        edge = (state > state_last) ? 1 : 0;
 #endif /* TIOCMIWAIT */
 
-       /* ok and log used by KPPS and TIOCMIWAIT, */
+       /* ok and log used by KPPS and TIOCMIWAIT */
        ok = false;  
        log = NULL;  
 #if defined(HAVE_SYS_TIMEPPS_H) && !defined(S_SPLINT_S)
@@ -353,12 +353,12 @@ static /address@hidden@*/ void *gpsd_ppsmonitor(void *arg)
             * We use of a non-NULL zero timespec here,
             * which means to return immediately with -1 (section
             * 3.4.3).  This is because we know we just got a pulse because 
-             * TIOCMIWAIT, just woke up.
+             * TIOCMIWAIT just woke up.
             * The timestamp has already been captured in the kernel, and we 
              * are merely fetching it here.
             */
             memset( (void *)&kernelpps_tv, 0, sizeof(kernelpps_tv));
-#else /* not TIOCMIWAIT, */
+#else /* not TIOCMIWAIT */
            /*
             * RFC2783 specifies that a NULL timeval means to wait.
              *
-- 
1.8.5.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]