diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 21:20:01 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 23:42:17 -0400 |
commit | dc75168823540076b354135f6e2de7a9a978fbca (patch) | |
tree | f68468cd05daeb0c557e21432a260dd7a007bb19 /src/libsystemd-network | |
parent | 2ae56591b5b25b1ee33e40612f1ae0593218d56c (diff) |
Use space after a silencing (void)
We were using a space more often than not, and this way is
codified in CODING_STYLE.
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/lldp-internal.c | 14 | ||||
-rw-r--r-- | src/libsystemd-network/sd-lldp.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/libsystemd-network/lldp-internal.c b/src/libsystemd-network/lldp-internal.c index dee4ea474c..0f354461f7 100644 --- a/src/libsystemd-network/lldp-internal.c +++ b/src/libsystemd-network/lldp-internal.c @@ -61,7 +61,7 @@ int lldp_read_chassis_id(tlv_packet *tlv, *type = subtype; out1: - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); out2: return r; @@ -113,7 +113,7 @@ int lldp_read_port_id(tlv_packet *tlv, *type = subtype; out1: - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); out2: return r; @@ -130,7 +130,7 @@ int lldp_read_ttl(tlv_packet *tlv, uint16_t *ttl) { r = tlv_packet_read_u16(tlv, ttl); - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); out: return r; @@ -155,7 +155,7 @@ int lldp_read_system_name(tlv_packet *tlv, *data = (char *) s; out: - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); return r; } @@ -179,7 +179,7 @@ int lldp_read_system_description(tlv_packet *tlv, *data = (char *) s; out: - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); return r; } @@ -203,7 +203,7 @@ int lldp_read_port_description(tlv_packet *tlv, *data = (char *) s; out: - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); return r; } @@ -224,7 +224,7 @@ int lldp_read_system_capability(tlv_packet *tlv, uint16_t *data) { return 0; out: - (void)lldp_tlv_packet_exit_container(tlv); + (void) lldp_tlv_packet_exit_container(tlv); return r; } diff --git a/src/libsystemd-network/sd-lldp.c b/src/libsystemd-network/sd-lldp.c index 0821730330..fddda97f52 100644 --- a/src/libsystemd-network/sd-lldp.c +++ b/src/libsystemd-network/sd-lldp.c @@ -519,7 +519,7 @@ int sd_lldp_save(sd_lldp *lldp, const char *lldp_file) { free(s); s = k; - (void)lldp_read_system_capability(p->packet, &data); + (void) lldp_read_system_capability(p->packet, &data); sprintf(buf, "'_CAP=%x'", data); |