From 95e1dc568463108afaa55d7afaa3dda50e93b45a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 27 Aug 2014 08:17:53 -0400 Subject: Structure member name change: packet -> lexer. No logic changes. All regression tests pass. --- isgps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'isgps.c') diff --git a/isgps.c b/isgps.c index 59d48699..6f346de3 100644 --- a/isgps.c +++ b/isgps.c @@ -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 */ -- cgit v1.2.1