diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-04-14 11:43:57 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-04-14 11:43:57 -0400 |
commit | 725487a5e9d1c01a99606f42d533bc7069a184a5 (patch) | |
tree | 3d49315780c7eaccd7dd773b9860236319f9220f | |
parent | 97709795f53469dc132ad347203dbc12fe587f54 (diff) | |
download | gpsd-725487a5e9d1c01a99606f42d533bc7069a184a5.tar.gz |
More reindenting.
-rw-r--r-- | driver_zodiac.c | 4 | ||||
-rw-r--r-- | net_ntrip.c | 13 |
2 files changed, 12 insertions, 5 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c index 539c2fee..9d13f6f4 100644 --- a/driver_zodiac.c +++ b/driver_zodiac.c @@ -416,8 +416,8 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session) char buf[BUFSIZ]; int i; unsigned int id = - (unsigned int)((session->packet.outbuffer[3] << 8) | session->packet. - outbuffer[2]); + (unsigned int)((session->packet.outbuffer[3] << 8) | + session->packet.outbuffer[2]); if (session->packet.type != ZODIAC_PACKET) { const struct gps_type_t **dp; diff --git a/net_ntrip.c b/net_ntrip.c index 0be4656a..8dfff51f 100644 --- a/net_ntrip.c +++ b/net_ntrip.c @@ -33,8 +33,15 @@ struct ntrip_stream_t { char mountpoint[101]; enum - { fmt_rtcm2, fmt_rtcm2_0, fmt_rtcm2_1, fmt_rtcm2_2, fmt_rtcm2_3, - fmt_rtcm3, fmt_unknown } format; + { + fmt_rtcm2, + fmt_rtcm2_0, + fmt_rtcm2_1, + fmt_rtcm2_2, + fmt_rtcm2_3, + fmt_rtcm3, + fmt_unknown + } format; int carrier; double latitude; double longitude; @@ -352,7 +359,7 @@ static int ntrip_auth_encode(const struct ntrip_stream_t *stream, return 0; } - /*@ -nullpass @*//* work around a splint bug */ +/*@ -nullpass @*//* work around a splint bug */ static int ntrip_stream_open(const char *caster, const char *port, /*@null@*/ const char *auth, struct gps_context_t *context, |