Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 98c8a098aaa3ecec877a24cc07b4d72a2366666d Author: Martin Hundebøll martin@hundeboll.net Date: Wed Jan 30 08:27:28 2013 +0100
batman-adv: Fix alignment of batadv_nc_hash_key_gen
Move second argument to first line and align third argument to the opening parenthesis.
Signed-off-by: Martin Hundebøll martin@hundeboll.net Signed-off-by: Marek Lindner lindner_marek@yahoo.de
98c8a098aaa3ecec877a24cc07b4d72a2366666d network-coding.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/network-coding.c b/network-coding.c index 262061b..e6b192c 100644 --- a/network-coding.c +++ b/network-coding.c @@ -371,9 +371,8 @@ static void batadv_nc_purge_paths(struct batadv_priv *bat_priv, * @src: source ethernet mac address going into the hash key * @dst: destination ethernet mac address going into the hash key */ -static void batadv_nc_hash_key_gen(struct batadv_nc_path *key, - const char *src, - const char *dst) +static void batadv_nc_hash_key_gen(struct batadv_nc_path *key, const char *src, + const char *dst) { memcpy(key->prev_hop, src, sizeof(key->prev_hop)); memcpy(key->next_hop, dst, sizeof(key->next_hop));