diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 21:06:09 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 21:06:09 +0200 |
commit | 9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch) | |
tree | a02c2a507b3d536182d81e78b878b6b29c617cb9 /src/peer.c | |
parent | 1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff) | |
download | fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip |
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |