Prechádzať zdrojové kódy

remove ua_subscription_events.h and all instances of it being included

Ari Breitkreuz 7 rokov pred
rodič
commit
6dfb0d3f65

+ 1 - 2
CMakeLists.txt

@@ -401,8 +401,7 @@ set(internal_headers ${PROJECT_SOURCE_DIR}/deps/queue.h
                      ${PROJECT_SOURCE_DIR}/src/server/ua_server_internal.h
                      ${PROJECT_SOURCE_DIR}/src/server/ua_services.h
                      ${PROJECT_BINARY_DIR}/src_generated/ua_namespace0.h
-                     ${PROJECT_SOURCE_DIR}/src/client/ua_client_internal.h
-                     ${PROJECT_SOURCE_DIR}/src/server/ua_subscription_events.h)
+                     ${PROJECT_SOURCE_DIR}/src/client/ua_client_internal.h)
 
 # TODO: make client optional
 set(lib_sources ${PROJECT_SOURCE_DIR}/src/ua_types.c

+ 0 - 1
src/server/ua_server_ns0.c

@@ -13,7 +13,6 @@
 #include "ua_namespace0.h"
 #include "ua_subscription.h"
 #include "ua_session.h"
-#include "ua_subscription_events.h"
 
 
 /*****************/

+ 0 - 1
src/server/ua_subscription.c

@@ -16,7 +16,6 @@
  */
 
 #include "ua_server_internal.h"
-#include "ua_subscription_events.h"
 #include "ua_subscription.h"
 
 #ifdef UA_ENABLE_SUBSCRIPTIONS /* conditional compilation */

+ 0 - 1
src/server/ua_subscription_datachange.c

@@ -11,7 +11,6 @@
 #include "ua_server_internal.h"
 #include "ua_subscription.h"
 #include "ua_types_encoding_binary.h"
-#include "ua_subscription_events.h"
 
 #ifdef UA_ENABLE_SUBSCRIPTIONS /* conditional compilation */
 

+ 0 - 1
src/server/ua_subscription_events.c

@@ -7,7 +7,6 @@
 
 #include "ua_server_internal.h"
 #include "ua_subscription.h"
-#include "ua_subscription_events.h"
 
 #ifdef UA_ENABLE_SUBSCRIPTIONS_EVENTS
 

+ 0 - 16
src/server/ua_subscription_events.h

@@ -1,16 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- *    Copyright 2018 (c) Ari Breitkreuz, fortiss GmbH
- */
-
-#ifndef UA_SUBSCRIPTION_EVENTS_H_
-#define UA_SUBSCRIPTION_EVENTS_H_
-
-#ifdef UA_ENABLE_SUBSCRIPTIONS_EVENTS
-
-
-#endif
-
-#endif /* UA_SUBSCRIPTION_EVENTS_H_ */