Эх сурвалжийг харах

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

Andrea Masciotta 6 жил өмнө
parent
commit
ddac0cf909
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;