Explorar o código

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

Andrea Masciotta %!s(int64=6) %!d(string=hai) anos
pai
achega
ddac0cf909
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modbus.h

+ 1 - 1
src/modbus.h

@@ -154,7 +154,7 @@ extern const unsigned int libmodbus_version_micro;
 
 typedef struct _modbus modbus_t;
 
-typedef struct {
+typedef struct _modbus_mapping_t {
     int nb_bits;
     int start_bits;
     int nb_input_bits;