소스 검색

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;