diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-26 20:24:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-26 20:24:29 +0000 |
commit | 2bb7f84e7f141f24f8dc6d3a2ac73bff3481ad48 (patch) | |
tree | 00d309d15fcf70d6e43f7d06da71774fdef3897a /packet_test.c | |
parent | 3a34fcc16b2c951d10892fa43d6921865fa1145c (diff) | |
download | gpsd-2bb7f84e7f141f24f8dc6d3a2ac73bff3481ad48.tar.gz |
Big-endian support in rtcm.c.
Diffstat (limited to 'packet_test.c')
-rw-r--r-- | packet_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet_test.c b/packet_test.c index 2b886ad0..494f044b 100644 --- a/packet_test.c +++ b/packet_test.c @@ -37,7 +37,7 @@ struct map { }; /*@ -initallelements +charint -usedef @*/ -struct map tests[] = { +static struct map tests[] = { /* NMEA tests */ { "NMEA packet with checksum (1)", @@ -264,5 +264,5 @@ int main(int argc, char *argv[]) else for (mp = tests; mp < tests + sizeof(tests)/sizeof(tests[0]); mp++) failcount += packet_test(mp); - exit(failcount > 0); + exit(failcount > 0 ? 1 : 0); } |