Make 'struct rs9lcd_info' non-empty.

Empty structs can be an issue (compiler-dependent), so add a dummy entry
for this one.
This commit is contained in:
Uwe Hermann 2013-02-02 12:14:26 +01:00
parent c5d6f5cc1c
commit bf6f8399fc
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ SR_PRIV int sr_metex14_parse(const uint8_t *buf, float *floatval,
#define RS9LCD_PACKET_SIZE 9
/* Dummy info struct. The parser does not use it. */
struct rs9lcd_info {};
struct rs9lcd_info { int dummy; };
SR_PRIV gboolean sr_rs9lcd_packet_valid(const uint8_t *buf);
SR_PRIV int sr_rs9lcd_parse(const uint8_t *buf, float *floatval,