summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver_zodiac.c4
-rw-r--r--net_ntrip.c13
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,