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/ioprio.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/shared/ioprio.h') diff --git a/src/shared/ioprio.h b/src/shared/ioprio.h index 9800fc2553..e5c71d0043 100644 --- a/src/shared/ioprio.h +++ b/src/shared/ioprio.h @@ -44,13 +44,11 @@ enum { IOPRIO_WHO_USER, }; -static inline int ioprio_set(int which, int who, int ioprio) -{ +static inline int ioprio_set(int which, int who, int ioprio) { return syscall(__NR_ioprio_set, which, who, ioprio); } -static inline int ioprio_get(int which, int who) -{ +static inline int ioprio_get(int which, int who) { return syscall(__NR_ioprio_get, which, who); } -- cgit v1.2.3-54-g00ecf