diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-27 08:17:53 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-27 08:17:53 -0400 |
commit | 95e1dc568463108afaa55d7afaa3dda50e93b45a (patch) | |
tree | f6bfb99d1b174e0a4d9c2485dcb21e83483ae8dc /isgps.c | |
parent | 05806755dbd7d671201df03194ddfebca1553a62 (diff) | |
download | gpsd-95e1dc568463108afaa55d7afaa3dda50e93b45a.tar.gz |
Structure member name change: packet -> lexer. No logic changes.
All regression tests pass.
Diffstat (limited to 'isgps.c')
-rw-r--r-- | isgps.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -167,7 +167,7 @@ unsigned int isgps_parity(isgps30bits_t th) */ #define isgps_parityok(w) (isgps_parity(w) == ((w) & 0x3f)) -void isgps_init( /*@out@*/ struct gps_packet_t *session) +void isgps_init( /*@out@*/ struct gps_lexer_t *session) { session->isgps.curr_word = 0; session->isgps.curr_offset = 24; /* first word */ @@ -179,9 +179,9 @@ void isgps_init( /*@out@*/ struct gps_packet_t *session) /*@ -usereleased -compdef @*/ // This works around cppcheck not looking into enough config branches // cppcheck-suppress unusedFunction -enum isgpsstat_t isgps_decode(struct gps_packet_t *session, +enum isgpsstat_t isgps_decode(struct gps_lexer_t *session, bool(*preamble_match) (isgps30bits_t *), - bool(*length_check) (struct gps_packet_t *), + bool(*length_check) (struct gps_lexer_t *), size_t maxlen, unsigned int c) { /* ASCII characters 64-127, @ through DEL */ |