From: tsteven4 Date: Sun, 7 Apr 2013 22:25:11 +0000 (+0000) Subject: fix gcc warnings about non-local variables using anonymous types. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~582 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aaf6ce549ef95cacfd253e0215b15d296d6733c8;p=gpsbabel.git fix gcc warnings about non-local variables using anonymous types. --- diff --git a/gpsbabel/jeeps/gpsusbcommon.cc b/gpsbabel/jeeps/gpsusbcommon.cc index 79e5b2045..d16eefd82 100644 --- a/gpsbabel/jeeps/gpsusbcommon.cc +++ b/gpsbabel/jeeps/gpsusbcommon.cc @@ -29,7 +29,7 @@ * protocols as exhibited in the handhelds and dashtops. */ -enum { +static enum { rs_fromintr, rs_frombulk } receive_state; diff --git a/gpsbabel/nmea.cc b/gpsbabel/nmea.cc index 47ba567c3..5412a01e3 100644 --- a/gpsbabel/nmea.cc +++ b/gpsbabel/nmea.cc @@ -141,7 +141,7 @@ typedef enum { gprmc } preferred_posn_type; -enum { +static enum { rm_unknown = 0, rm_serial, rm_file