diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2016-07-27 15:48:04 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-07-27 15:48:04 +0100 |
commit | 965eb5a615fe0f7f2a2526fca8cd2ba230a6626d (patch) | |
tree | 3f005c7f633154e8b6ad6a3ba922a73c3adeeb1f | |
parent | a7094cffbcbd14fdba7d0ab6e0c7057a8857a674 (diff) |
use same indentation for functions
-rw-r--r-- | tun.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -27,7 +27,8 @@ static int tun_fd = -1; * space to hold the interface name if '\0' is passed * @param flags interface flags (eg, IFF_TUN etc.) */ -static int tun_alloc(char *dev, int flags) +static int +tun_alloc(char *dev, int flags) { struct ifreq ifr; int fd, err; @@ -52,7 +53,8 @@ static int tun_alloc(char *dev, int flags) return fd; } -void tun_setup(void) +void +tun_setup(void) { char tun_name[IFNAMSIZ]; int fd; @@ -191,7 +193,8 @@ release_packet(packet_t *pkt) free(pkt); } -static void* writer_proc(void *ptr) +static void* +writer_proc(void *ptr) { packet_t *pkt; |