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/shared/linux/auto_dev-ioctl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/shared/linux') diff --git a/src/shared/linux/auto_dev-ioctl.h b/src/shared/linux/auto_dev-ioctl.h index 850f39b33e..aeaeb3ea7a 100644 --- a/src/shared/linux/auto_dev-ioctl.h +++ b/src/shared/linux/auto_dev-ioctl.h @@ -118,8 +118,7 @@ struct autofs_dev_ioctl { char path[0]; }; -static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in) -{ +static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in) { memset(in, 0, sizeof(struct autofs_dev_ioctl)); in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; -- cgit v1.2.3-54-g00ecf