summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-05-10 17:40:20 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-05-10 17:40:20 +0200
commit1889ef324cceaf8b667a9d4dade8260c395913c7 (patch)
treead04bf9dbc9df79914da20f5fd5f0de8067b70a4
parent53d1f7a25aa0d35da3050a0be1092573de541d27 (diff)
downloadtcpdump-1889ef324cceaf8b667a9d4dade8260c395913c7.tar.gz
Remove some spaces (style)
-rw-r--r--print-atm.c4
-rw-r--r--print-dtp.c2
-rw-r--r--print-icmp6.c2
-rw-r--r--print-ip.c4
-rw-r--r--print-udld.c2
-rw-r--r--print-vtp.c4
6 files changed, 9 insertions, 9 deletions
diff --git a/print-atm.c b/print-atm.c
index 01194d05..06ecc017 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -448,8 +448,8 @@ struct oam_fm_ais_rdi_t {
};
void
-oam_print (netdissect_options *ndo,
- const u_char *p, u_int length, u_int hec)
+oam_print(netdissect_options *ndo,
+ const u_char *p, u_int length, u_int hec)
{
uint32_t cell_header;
uint16_t vpi, vci, cksum, cksum_shouldbe, idx;
diff --git a/print-dtp.c b/print-dtp.c
index 8f6921e5..b84da3fb 100644
--- a/print-dtp.c
+++ b/print-dtp.c
@@ -43,7 +43,7 @@ static const struct tok dtp_tlv_values[] = {
};
void
-dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length)
+dtp_print(netdissect_options *ndo, const u_char *pptr, u_int length)
{
int type, len;
const u_char *tptr;
diff --git a/print-icmp6.c b/print-icmp6.c
index 81d7af28..19bf23d2 100644
--- a/print-icmp6.c
+++ b/print-icmp6.c
@@ -1492,7 +1492,7 @@ icmp6_opt_print(netdissect_options *ndo, const u_char *bp, int resid)
while (domp < cp + (opt_len << 3) && EXTRACT_U_1(domp) != '\0')
{
ND_PRINT(" ");
- if ((domp = ns_nprint (ndo, domp, bp)) == NULL)
+ if ((domp = ns_nprint(ndo, domp, bp)) == NULL)
goto trunc;
}
break;
diff --git a/print-ip.c b/print-ip.c
index 4d8671bb..0fc6dcd7 100644
--- a/print-ip.c
+++ b/print-ip.c
@@ -719,10 +719,10 @@ ipN_print(netdissect_options *ndo, const u_char *bp, u_int length)
ND_TCHECK_1(bp);
switch (EXTRACT_U_1(bp) & 0xF0) {
case 0x40:
- ip_print (ndo, bp, length);
+ ip_print(ndo, bp, length);
break;
case 0x60:
- ip6_print (ndo, bp, length);
+ ip6_print(ndo, bp, length);
break;
default:
ND_PRINT("unknown ip %u", (EXTRACT_U_1(bp) & 0xF0) >> 4);
diff --git a/print-udld.c b/print-udld.c
index b97e0b3a..224d4825 100644
--- a/print-udld.c
+++ b/print-udld.c
@@ -93,7 +93,7 @@ static const struct tok udld_flags_values[] = {
#define UDLD_EXTRACT_OPCODE(x) ((x)&0x1f)
void
-udld_print (netdissect_options *ndo, const u_char *pptr, u_int length)
+udld_print(netdissect_options *ndo, const u_char *pptr, u_int length)
{
int code, type, len;
const u_char *tptr;
diff --git a/print-vtp.c b/print-vtp.c
index 358a294e..c81a2d48 100644
--- a/print-vtp.c
+++ b/print-vtp.c
@@ -116,8 +116,8 @@ static const struct tok vtp_stp_type_values[] = {
};
void
-vtp_print (netdissect_options *ndo,
- const u_char *pptr, u_int length)
+vtp_print(netdissect_options *ndo,
+ const u_char *pptr, u_int length)
{
u_int type, len, name_len, tlv_len, tlv_value, mgmtd_len;
const u_char *tptr;