diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 20:38:37 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 20:38:37 -0500 |
commit | 56e719970de0fcbbc6c086159f31f82b5eb35128 (patch) | |
tree | eec477c566d221cb1823935155231f38036e778c /gpspacket.c | |
parent | f1e30c3197910f319cf2d624666be87a0580b82a (diff) | |
download | gpsd-56e719970de0fcbbc6c086159f31f82b5eb35128.tar.gz |
Code is fully cppcheck, splint, and Coverity clean.
All regression tests pass. PPS is live.
Diffstat (limited to 'gpspacket.c')
-rw-r--r-- | gpspacket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpspacket.c b/gpspacket.c index ca46f87f..7a74adc7 100644 --- a/gpspacket.c +++ b/gpspacket.c @@ -243,6 +243,7 @@ level of the message and the message itself.\n\ extern PyMODINIT_FUNC initpacket(void); PyMODINIT_FUNC +// cppcheck-suppress unusedFunction initpacket(void) { PyObject *m; @@ -271,6 +272,7 @@ initpacket(void) PyModule_AddIntConstant(m, "GEOSTAR_PACKET", GEOSTAR_PACKET); PyModule_AddIntConstant(m, "RTCM2_PACKET", RTCM2_PACKET); PyModule_AddIntConstant(m, "RTCM3_PACKET", RTCM3_PACKET); + PyModule_AddIntConstant(m, "JSON_PACKET", JSON_PACKET); PyModule_AddIntConstant(m, "LOG_IO", LOG_IO); } |