From f168c27313e4d7b0aabee037dc9c78a5799f0597 Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Tue, 3 Dec 2013 22:27:45 +0100 Subject: trivial coding style clean ups - Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { } --- src/udev/net/link-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/udev/net') diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 738954c728..f25afa60c7 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -334,7 +334,7 @@ static int get_mac(struct udev_device *device, bool want_random, struct ether_ad srandom(seed); - for(i = 0; i < ETH_ALEN; i++) { + for (i = 0; i < ETH_ALEN; i++) { mac->ether_addr_octet[i] = random(); } -- cgit v1.2.3-54-g00ecf