Ver código fonte

No need to fwd declare these structs

The typedef below is sufficient.
Frank Meerkoetter 6 anos atrás
pai
commit
7be71b6a78

+ 0 - 1
include/ua_plugin_historydatabase.h

@@ -13,7 +13,6 @@
 
 _UA_BEGIN_DECLS
 
-struct UA_HistoryDatabase;
 typedef struct UA_HistoryDatabase UA_HistoryDatabase;
 
 struct UA_HistoryDatabase {

+ 0 - 1
plugins/historydata/ua_plugin_history_data_gathering.h

@@ -28,7 +28,6 @@ typedef struct {
     void * userContext;
 } UA_HistorizingNodeIdSettings;
 
-struct UA_HistoryDataGathering;
 typedef struct UA_HistoryDataGathering UA_HistoryDataGathering;
 struct UA_HistoryDataGathering {
     void *context;