summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2023-01-03 15:30:44 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-07 10:01:37 -0700
commit32810503595a83d3bb4c709759224223f2137e0c (patch)
treeb39d1699b31e65501c869f70ad51b47603b08508 /Userland/Utilities
parentd575cfda613197a7e090ee8dee053e48df17d730 (diff)
downloadserenity-32810503595a83d3bb4c709759224223f2137e0c.zip
Everywhere: Remove "LibC/" includes, add lint-rule against it
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/functrace.cpp2
-rw-r--r--Userland/Utilities/strace.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/functrace.cpp b/Userland/Utilities/functrace.cpp
index 3bcf652dce..4368ce3575 100644
--- a/Userland/Utilities/functrace.cpp
+++ b/Userland/Utilities/functrace.cpp
@@ -9,7 +9,6 @@
#include <AK/NonnullOwnPtr.h>
#include <AK/StringBuilder.h>
#include <Kernel/API/SyscallString.h>
-#include <LibC/sys/arch/regs.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/File.h>
#include <LibCore/System.h>
@@ -21,6 +20,7 @@
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/arch/regs.h>
#include <syscall.h>
#include <unistd.h>
diff --git a/Userland/Utilities/strace.cpp b/Userland/Utilities/strace.cpp
index 29e29e6ec3..8d34465eb8 100644
--- a/Userland/Utilities/strace.cpp
+++ b/Userland/Utilities/strace.cpp
@@ -10,7 +10,6 @@
#include <AK/StdLibExtras.h>
#include <AK/Types.h>
#include <Kernel/API/SyscallString.h>
-#include <LibC/sys/arch/regs.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/Stream.h>
#include <LibCore/System.h>
@@ -21,6 +20,7 @@
#include <signal.h>
#include <stdio.h>
#include <string.h>
+#include <sys/arch/regs.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/ptrace.h>