summaryrefslogtreecommitdiff
path: root/src/shared/ioprio.h
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-03 22:27:45 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-03 22:27:45 +0100
commitf168c27313e4d7b0aabee037dc9c78a5799f0597 (patch)
treedf9ad884b2fdf45f519d04075dc67c8b82bb2915 /src/shared/ioprio.h
parent53ab52ac6d2a12ba24f3cfd618c12c99871947ed (diff)
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() { }
Diffstat (limited to 'src/shared/ioprio.h')
-rw-r--r--src/shared/ioprio.h6
1 files changed, 2 insertions, 4 deletions
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);
}