瀏覽代碼

No need to fwd declare these structs

The typedef below is sufficient.
Frank Meerkoetter 6 年之前
父節點
當前提交
7be71b6a78
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      include/ua_plugin_historydatabase.h
  2. 0 1
      plugins/historydata/ua_plugin_history_data_gathering.h

+ 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;