summaryrefslogtreecommitdiff
path: root/pseudoais.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-17 10:04:37 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-17 10:04:37 -0400
commit978b7afe869dee677cc37538db1eec0d2fe94fe0 (patch)
treee6a1f59efc2af4a4d1559764fcd28d8087f81109 /pseudoais.c
parenta34118b0a18820dc7d034dd04a0108c77ec12326 (diff)
downloadgpsd-978b7afe869dee677cc37538db1eec0d2fe94fe0.tar.gz
splint/cppcheck cleanup.
Diffstat (limited to 'pseudoais.c')
-rw-r--r--pseudoais.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pseudoais.c b/pseudoais.c
index c6e6db72..029b4d31 100644
--- a/pseudoais.c
+++ b/pseudoais.c
@@ -122,6 +122,7 @@ static void ais_binary_to_ascii(unsigned char *bits, unsigned int len)
}
+/*@-compdef +matchanyintegral -type +ignoresigns -mustdefine@*/
unsigned int ais_binary_encode(struct ais_t *ais,
unsigned char *bits,
int flag)
@@ -314,4 +315,5 @@ unsigned int ais_binary_encode(struct ais_t *ais,
ais_binary_to_ascii(bits, len);
return len;
}
+/*@+compdef -matchanyintegral +type -ignoresigns +mustdefine@*/
#endif /* AIVDM_ENABLE */