forked from osmocom/wireshark
Trivial warning fixes:
opcua: warning: function declaration isn't a prototype rest: comma at end of enumerator svn path=/trunk/; revision=21885
This commit is contained in:
parent
e14af5a577
commit
21adfc3029
|
@ -81,7 +81,7 @@ static gint ett_per_External_encoding = -1;
|
|||
typedef enum {
|
||||
CB_ASN1_ENC,
|
||||
CB_DISSECTOR,
|
||||
CB_NEW_DISSECTOR,
|
||||
CB_NEW_DISSECTOR
|
||||
} type_cb_variant;
|
||||
|
||||
/*
|
||||
|
|
|
@ -45,7 +45,7 @@ typedef enum {
|
|||
SMB2_EI_NONE, /* Unassigned / NULL */
|
||||
SMB2_EI_TREENAME, /* tid tracking char * */
|
||||
SMB2_EI_FILENAME, /* fid tracking char * */
|
||||
SMB2_EI_FINDPATTERN, /* find tracking char * */
|
||||
SMB2_EI_FINDPATTERN /* find tracking char * */
|
||||
} smb2_extra_info_t;
|
||||
typedef struct _smb2_saved_info_t {
|
||||
guint8 class;
|
||||
|
|
|
@ -1742,7 +1742,7 @@ static gint *ett[] =
|
|||
&ett_opcua_TransferResult,
|
||||
};
|
||||
|
||||
void registerComplexTypes()
|
||||
void registerComplexTypes(void)
|
||||
{
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
}
|
||||
|
|
|
@ -150,4 +150,4 @@ void parseNotificationMessage(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, ch
|
|||
void parseMonitoredItemNotification(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName);
|
||||
void parseDataChangeNotification(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName);
|
||||
void parseTransferResult(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName);
|
||||
void registerComplexTypes();
|
||||
void registerComplexTypes(void);
|
||||
|
|
|
@ -977,7 +977,7 @@ static gint *ett[] =
|
|||
&ett_opcua_DeleteSubscriptionsResponse,
|
||||
};
|
||||
|
||||
void registerServiceTypes()
|
||||
void registerServiceTypes(void)
|
||||
{
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
}
|
||||
|
|
|
@ -104,4 +104,4 @@ void parseTransferSubscriptionsRequest(proto_tree *tree, tvbuff_t *tvb, gint *pO
|
|||
void parseTransferSubscriptionsResponse(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
|
||||
void parseDeleteSubscriptionsRequest(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
|
||||
void parseDeleteSubscriptionsResponse(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
|
||||
void registerServiceTypes();
|
||||
void registerServiceTypes(void);
|
||||
|
|
Loading…
Reference in New Issue