summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-19 01:58:35 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-19 01:58:35 +0200
commit89789e51d5885c520ead7459440198c6fbcefc01 (patch)
tree1ed3950ccc06ab8706a1e228ab238cfcf56a43be
parentb7cbdfc92d1bddcdf4a6a7ad8cfb004364d4d59c (diff)
downloadtcpdump-89789e51d5885c520ead7459440198c6fbcefc01.tar.gz
Fix used but marked unused parameters
-rw-r--r--print-eap.c2
-rw-r--r--print-forces.c2
-rw-r--r--print-isakmp.c16
3 files changed, 10 insertions, 10 deletions
diff --git a/print-eap.c b/print-eap.c
index ea081d19..125e1ee1 100644
--- a/print-eap.c
+++ b/print-eap.c
@@ -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;
diff --git a/print-forces.c b/print-forces.c
index f98bd061..bc16dbb0 100644
--- a/print-forces.c
+++ b/print-forces.c
@@ -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);
diff --git a/print-isakmp.c b/print-isakmp.c
index e4d315f9..8f067035 100644
--- a/print-isakmp.c
+++ b/print-isakmp.c
@@ -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_)
{