summaryrefslogtreecommitdiff
path: root/LibC/ioctl.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-07 11:49:03 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-07 11:49:03 +0200
commit46527b72d7cfbeee163c1009e27805061fcddf09 (patch)
tree30fc4833a5f24e5a0b57d0d21c220d4fd6ba48d6 /LibC/ioctl.cpp
parent892acfb10d98014e8880fa957a14541020ec263c (diff)
downloadserenity-46527b72d7cfbeee163c1009e27805061fcddf09.zip
LibC: Run clang-format on everything.
Diffstat (limited to 'LibC/ioctl.cpp')
-rw-r--r--LibC/ioctl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/LibC/ioctl.cpp b/LibC/ioctl.cpp
index 354d49e7b7..c2ac90524a 100644
--- a/LibC/ioctl.cpp
+++ b/LibC/ioctl.cpp
@@ -1,8 +1,8 @@
+#include <Kernel/Syscall.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <sys/ioctl.h>
-#include <Kernel/Syscall.h>
extern "C" {
@@ -14,6 +14,4 @@ int ioctl(int fd, unsigned request, ...)
int rc = syscall(SC_ioctl, fd, request, arg);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
-
}
-