From 9855a34f48acf6ae3aaeba9ec37756da41507e64 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 24 Aug 2014 21:06:09 +0200 Subject: Coding style: always add a space between a pointer's type and the * --- src/peer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/peer.c') diff --git a/src/peer.c b/src/peer.c index 5dee686..1fefa33 100644 --- a/src/peer.c +++ b/src/peer.c @@ -160,7 +160,7 @@ static inline size_t peer_index(fastd_peer_t *peer) { } /** Finds a peer with a specified ID */ -fastd_peer_t* fastd_peer_find_by_id(uint64_t id) { +fastd_peer_t * fastd_peer_find_by_id(uint64_t id) { fastd_peer_t **ret = peer_p_find_by_id(id); if (ret) @@ -884,7 +884,7 @@ void fastd_peer_eth_addr_add(fastd_peer_t *peer, fastd_eth_addr_t addr) { } /** Finds the peer that is associated with a given MAC address */ -fastd_peer_t* fastd_peer_find_by_eth_addr(const fastd_eth_addr_t addr) { +fastd_peer_t * fastd_peer_find_by_eth_addr(const fastd_eth_addr_t addr) { const fastd_peer_eth_addr_t key = {.addr = addr}; fastd_peer_eth_addr_t *peer_eth_addr = VECTOR_BSEARCH(&key, ctx.eth_addrs, peer_eth_addr_cmp); -- cgit v1.2.3