Try to fix [-Wmissing-prototypes]

svn path=/trunk/; revision=53337
This commit is contained in:
Anders Broman 2013-11-15 06:32:11 +00:00
parent 23e55c696e
commit 171f91db2b
7 changed files with 9 additions and 1 deletions

View File

@ -37,6 +37,8 @@
#include "opcua_simpletypes.h"
#include "opcua_hfindeces.h"
void proto_register_opcua(void);
extern const value_string g_requesttypes[];
extern const int g_NumServices;

View File

@ -26,6 +26,7 @@
#include <glib.h>
#include <epan/packet.h>
#include "opcua_simpletypes.h"
#include "opcua_application_layer.h"
/** NodeId encoding mask table */
static const value_string g_nodeidmasks[] = {

View File

@ -26,6 +26,8 @@
#include <glib.h>
#include <epan/packet.h>
#include "opcua_hfindeces.h"
int hf_opcua_AccessLevel = -1;
int hf_opcua_ActualSessionTimeout = -1;
int hf_opcua_AddResults = -1;

View File

@ -27,6 +27,7 @@
#include <epan/packet.h>
#include "opcua_application_layer.h"
#include "opcua_simpletypes.h"
#include "opcua_security_layer.h"
#if 0
/** NodeClass enum table */

View File

@ -29,6 +29,7 @@
#include "opcua_enumparser.h"
#include "opcua_simpletypes.h"
#include "opcua_hfindeces.h"
#include "opcua_serviceparser.h"
gint ett_opcua_FindServersRequest = -1;
void parseFindServersRequest(proto_tree *tree, tvbuff_t *tvb, gint *pOffset)

View File

@ -28,6 +28,7 @@
#include "opcua_security_layer.h"
#include "opcua_application_layer.h"
#include "opcua_simpletypes.h"
#include "opcua_transport_layer.h"
void dispatchService(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, int ServiceId);

View File

@ -29,5 +29,5 @@ int parseMessage(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
int parseService(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
int parseOpenSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
int parseCloseSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
int registerTransportLayerTypes(int proto);
void registerTransportLayerTypes(int proto);