Epan: Fix various missing prototype warnings.

This commit is contained in:
Gerald Combs 2021-04-16 14:02:23 -07:00 committed by Wireshark GitLab Utility
parent a27391ab16
commit 9c8f8a3c89
5 changed files with 20 additions and 14 deletions

View File

@ -20,6 +20,7 @@
#include <epan/proto_data.h>
#include "packet-per.h"
#include "packet-f1ap.h"
#include "packet-x2ap.h"
#include "packet-nr-rrc.h"
#include "packet-e212.h"

View File

@ -18,6 +18,7 @@
#include <epan/asn1.h>
#include "packet-per.h"
#include "packet-nrppa.h"
#define PNAME "NR Positioning Protocol A (NRPPa)"
#define PSNAME "NRPPa"

View File

@ -28,6 +28,7 @@
#include <epan/proto_data.h>
#include "packet-per.h"
#include "packet-f1ap.h"
#include "packet-x2ap.h"
#include "packet-nr-rrc.h"
#include "packet-e212.h"
@ -634,7 +635,7 @@ typedef enum _ProtocolIE_ID_enum {
} ProtocolIE_ID_enum;
/*--- End of included file: packet-f1ap-val.h ---*/
#line 40 "./asn1/f1ap/packet-f1ap-template.c"
#line 41 "./asn1/f1ap/packet-f1ap-template.c"
/* Initialize the protocol and registered fields */
static int proto_f1ap = -1;
@ -2100,7 +2101,7 @@ static int hf_f1ap_successfulOutcome_value = -1; /* SuccessfulOutcome_value */
static int hf_f1ap_unsuccessfulOutcome_value = -1; /* UnsuccessfulOutcome_value */
/*--- End of included file: packet-f1ap-hf.c ---*/
#line 69 "./asn1/f1ap/packet-f1ap-template.c"
#line 70 "./asn1/f1ap/packet-f1ap-template.c"
/* Initialize the subtree pointers */
static gint ett_f1ap = -1;
@ -2850,7 +2851,7 @@ static gint ett_f1ap_SuccessfulOutcome = -1;
static gint ett_f1ap_UnsuccessfulOutcome = -1;
/*--- End of included file: packet-f1ap-ett.c ---*/
#line 128 "./asn1/f1ap/packet-f1ap-template.c"
#line 129 "./asn1/f1ap/packet-f1ap-template.c"
enum{
INITIATING_MESSAGE,
@ -25471,7 +25472,7 @@ static int dissect_F1AP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto
/*--- End of included file: packet-f1ap-fn.c ---*/
#line 229 "./asn1/f1ap/packet-f1ap-template.c"
#line 230 "./asn1/f1ap/packet-f1ap-template.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
@ -31373,7 +31374,7 @@ void proto_register_f1ap(void) {
"UnsuccessfulOutcome_value", HFILL }},
/*--- End of included file: packet-f1ap-hfarr.c ---*/
#line 398 "./asn1/f1ap/packet-f1ap-template.c"
#line 399 "./asn1/f1ap/packet-f1ap-template.c"
};
/* List of subtrees */
@ -32125,7 +32126,7 @@ void proto_register_f1ap(void) {
&ett_f1ap_UnsuccessfulOutcome,
/*--- End of included file: packet-f1ap-ettarr.c ---*/
#line 459 "./asn1/f1ap/packet-f1ap-template.c"
#line 460 "./asn1/f1ap/packet-f1ap-template.c"
};
/* Register protocol */
@ -32675,7 +32676,7 @@ proto_reg_handoff_f1ap(void)
/*--- End of included file: packet-f1ap-dis-tab.c ---*/
#line 489 "./asn1/f1ap/packet-f1ap-template.c"
#line 490 "./asn1/f1ap/packet-f1ap-template.c"
}
/*

View File

@ -26,6 +26,7 @@
#include <epan/asn1.h>
#include "packet-per.h"
#include "packet-nrppa.h"
#define PNAME "NR Positioning Protocol A (NRPPa)"
#define PSNAME "NRPPa"
@ -619,7 +620,7 @@ static int hf_nrppa_aperiodic_04 = -1; /* T_aperiodic */
static int hf_nrppa_sRSResourceTrigger_01 = -1; /* SRSResourceTrigger */
/*--- End of included file: packet-nrppa-hf.c ---*/
#line 33 "./asn1/nrppa/packet-nrppa-template.c"
#line 34 "./asn1/nrppa/packet-nrppa-template.c"
/* Initialize the subtree pointers */
static gint ett_nrppa = -1;
@ -879,7 +880,7 @@ static gint ett_nrppa_PositioningActivationFailure = -1;
static gint ett_nrppa_PositioningDeactivation = -1;
/*--- End of included file: packet-nrppa-ett.c ---*/
#line 37 "./asn1/nrppa/packet-nrppa-template.c"
#line 38 "./asn1/nrppa/packet-nrppa-template.c"
/* Global variables */
static guint32 ProcedureCode;
@ -1022,7 +1023,7 @@ typedef enum _ProtocolIE_ID_enum {
} ProtocolIE_ID_enum;
/*--- End of included file: packet-nrppa-val.h ---*/
#line 51 "./asn1/nrppa/packet-nrppa-template.c"
#line 52 "./asn1/nrppa/packet-nrppa-template.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
@ -9026,7 +9027,7 @@ static int dissect_PositioningDeactivation_PDU(tvbuff_t *tvb _U_, packet_info *p
/*--- End of included file: packet-nrppa-fn.c ---*/
#line 59 "./asn1/nrppa/packet-nrppa-template.c"
#line 60 "./asn1/nrppa/packet-nrppa-template.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
@ -11372,7 +11373,7 @@ void proto_register_nrppa(void) {
NULL, HFILL }},
/*--- End of included file: packet-nrppa-hfarr.c ---*/
#line 92 "./asn1/nrppa/packet-nrppa-template.c"
#line 93 "./asn1/nrppa/packet-nrppa-template.c"
};
/* List of subtrees */
@ -11634,7 +11635,7 @@ void proto_register_nrppa(void) {
&ett_nrppa_PositioningDeactivation,
/*--- End of included file: packet-nrppa-ettarr.c ---*/
#line 98 "./asn1/nrppa/packet-nrppa-template.c"
#line 99 "./asn1/nrppa/packet-nrppa-template.c"
};
/* Register protocol */
@ -11744,5 +11745,5 @@ proto_reg_handoff_nrppa(void)
/*--- End of included file: packet-nrppa-dis-tab.c ---*/
#line 121 "./asn1/nrppa/packet-nrppa-template.c"
#line 122 "./asn1/nrppa/packet-nrppa-template.c"
}

View File

@ -239,6 +239,8 @@ static guint spdu_pdu_transport_mapping_num = 0;
void proto_register_signal_pdu(void);
void proto_reg_handoff_signal_pdu(void);
void proto_reg_handoff_signal_pdu_someip(void);
void proto_reg_handoff_signal_pdu_pdu_transport(void);
void
proto_reg_handoff_signal_pdu_someip(void) {