Browse Source

clean up include structure

Julius Pfrommer 9 years ago
parent
commit
43df86fac7

+ 0 - 2
src/server/ua_namespace.c

@@ -1,6 +1,4 @@
 #include "ua_namespace.h"
-#include <string.h>
-#include <stdio.h>
 
 struct UA_Namespace {
     const UA_Node **entries;

+ 0 - 1
src/server/ua_namespace.h

@@ -3,7 +3,6 @@
 
 #include "ua_types.h"
 #include "ua_types_generated.h"
-#include "util/ua_list.h"
 
 /**
    @ingroup server

+ 0 - 1
src/server/ua_securechannel_manager.c

@@ -1,5 +1,4 @@
 #include "ua_securechannel_manager.h"
-#include "util/ua_util.h"
 
 struct channel_list_entry {
     UA_SecureChannel channel;

+ 1 - 0
src/ua_connection.c

@@ -1,4 +1,5 @@
 #include "ua_connection.h"
+#include "util/ua_util.h"
 
 UA_ConnectionConfig UA_ConnectionConfig_standard = { .protocolVersion = 0,    .sendBufferSize = 8192,
                                                      .recvBufferSize  = 8192, .maxMessageSize = 8192,

+ 0 - 3
src/ua_securechannel.h

@@ -1,9 +1,6 @@
 #ifndef UA_SECURECHANNEL_H_
 #define UA_SECURECHANNEL_H_
 
-#include <stdio.h>
-#include <memory.h> // memcpy
-
 #include "ua_types_generated.h"
 #include "ua_transport.h"
 #include "ua_connection.h"

+ 0 - 1
src/ua_types_encoding_binary.h

@@ -1,7 +1,6 @@
 #ifndef UA_TYPES_ENCODING_BINARY_H_
 #define UA_TYPES_ENCODING_BINARY_H_
 
-#include "util/ua_util.h"
 #include "ua_types.h"
 
 /**