clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: Ia4966a0790437eb0fc011c747f3be2a52884e4d8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/mock_syscall.cpp b/test/mock_syscall.cpp
index 0699ceb..fa2ae2d 100644
--- a/test/mock_syscall.cpp
+++ b/test/mock_syscall.cpp
@@ -14,13 +14,14 @@
#include <sys/types.h>
#include <unistd.h>
+#include <stdplus/raw.hpp>
+
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
#include <stdexcept>
-#include <stdplus/raw.hpp>
#include <string>
#include <string_view>
#include <vector>
@@ -151,8 +152,8 @@
return in.size();
}
-extern "C" {
-
+extern "C"
+{
int ioctl(int fd, unsigned long int request, ...)
{
va_list vl;