Commit ddac0cf909d9ab05423df7b9a66e6e60e8bb0fbb

Authored by Andrea Masciotta
1 parent 6c14b7fc

modbus_mapping_t is now a named typedef (to allow forward declaration)

Showing 1 changed file with 1 additions and 1 deletions
src/modbus.h
... ... @@ -154,7 +154,7 @@ extern const unsigned int libmodbus_version_micro;
154 154  
155 155 typedef struct _modbus modbus_t;
156 156  
157   -typedef struct {
  157 +typedef struct _modbus_mapping_t {
158 158 int nb_bits;
159 159 int start_bits;
160 160 int nb_input_bits;
... ...