mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
Fix used but marked unused parameters
This commit is contained in:
parent
b7cbdfc92d
commit
89789e51d5
@ -149,7 +149,7 @@ static const struct tok eap_aka_subtype_values[] = {
|
||||
void
|
||||
eap_print(netdissect_options *ndo,
|
||||
register const u_char *cp,
|
||||
u_int length _U_)
|
||||
u_int length)
|
||||
{
|
||||
const struct eap_frame_t *eap;
|
||||
const u_char *tptr;
|
||||
|
@ -1415,7 +1415,7 @@ trunc:
|
||||
static int
|
||||
print_reddata(netdissect_options *ndo,
|
||||
register const u_char * pptr, register u_int len,
|
||||
uint16_t op_msk _U_, int indent _U_)
|
||||
uint16_t op_msk _U_, int indent)
|
||||
{
|
||||
u_int dlen;
|
||||
char *ib = indent_pr(indent, 0);
|
||||
|
@ -1465,7 +1465,7 @@ trunc:
|
||||
|
||||
static const u_char *
|
||||
ikev1_cert_print(netdissect_options *ndo, u_char tpay _U_,
|
||||
const struct isakmp_gen *ext, u_int item_len _U_,
|
||||
const struct isakmp_gen *ext, u_int item_len,
|
||||
const u_char *ep _U_, uint32_t phase _U_,
|
||||
uint32_t doi0 _U_,
|
||||
uint32_t proto0 _U_, int depth _U_)
|
||||
@ -1498,7 +1498,7 @@ trunc:
|
||||
|
||||
static const u_char *
|
||||
ikev1_cr_print(netdissect_options *ndo, u_char tpay _U_,
|
||||
const struct isakmp_gen *ext, u_int item_len _U_,
|
||||
const struct isakmp_gen *ext, u_int item_len,
|
||||
const u_char *ep _U_, uint32_t phase _U_, uint32_t doi0 _U_,
|
||||
uint32_t proto0 _U_, int depth _U_)
|
||||
{
|
||||
@ -1580,7 +1580,7 @@ static const u_char *
|
||||
ikev1_nonce_print(netdissect_options *ndo, u_char tpay _U_,
|
||||
const struct isakmp_gen *ext,
|
||||
u_int item_len _U_,
|
||||
const u_char *ep _U_,
|
||||
const u_char *ep,
|
||||
uint32_t phase _U_, uint32_t doi _U_,
|
||||
uint32_t proto _U_, int depth _U_)
|
||||
{
|
||||
@ -1968,9 +1968,9 @@ trunc:
|
||||
static const u_char *
|
||||
ikev2_sa_print(netdissect_options *ndo, u_char tpay,
|
||||
const struct isakmp_gen *ext1,
|
||||
u_int item_len _U_, const u_char *ep _U_,
|
||||
u_int item_len _U_, const u_char *ep,
|
||||
uint32_t phase _U_, uint32_t doi _U_,
|
||||
uint32_t proto _U_, int depth _U_)
|
||||
uint32_t proto _U_, int depth)
|
||||
{
|
||||
struct isakmp_gen e;
|
||||
int osa_length, sa_length;
|
||||
@ -2127,7 +2127,7 @@ ikev2_cr_print(netdissect_options *ndo, u_char tpay,
|
||||
static const u_char *
|
||||
ikev2_auth_print(netdissect_options *ndo, u_char tpay,
|
||||
const struct isakmp_gen *ext,
|
||||
u_int item_len _U_, const u_char *ep _U_,
|
||||
u_int item_len _U_, const u_char *ep,
|
||||
uint32_t phase _U_, uint32_t doi _U_,
|
||||
uint32_t proto _U_, int depth _U_)
|
||||
{
|
||||
@ -2163,7 +2163,7 @@ trunc:
|
||||
static const u_char *
|
||||
ikev2_nonce_print(netdissect_options *ndo, u_char tpay,
|
||||
const struct isakmp_gen *ext,
|
||||
u_int item_len _U_, const u_char *ep _U_,
|
||||
u_int item_len _U_, const u_char *ep,
|
||||
uint32_t phase _U_, uint32_t doi _U_,
|
||||
uint32_t proto _U_, int depth _U_)
|
||||
{
|
||||
@ -2193,7 +2193,7 @@ trunc:
|
||||
static const u_char *
|
||||
ikev2_n_print(netdissect_options *ndo, u_char tpay _U_,
|
||||
const struct isakmp_gen *ext,
|
||||
u_int item_len _U_, const u_char *ep _U_,
|
||||
u_int item_len, const u_char *ep,
|
||||
uint32_t phase _U_, uint32_t doi _U_,
|
||||
uint32_t proto _U_, int depth _U_)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user