diff --git a/Kernel/API/InodeWatcherEvent.h b/Kernel/API/InodeWatcherEvent.h deleted file mode 100644 index 9006ba6f83f..00000000000 --- a/Kernel/API/InodeWatcherEvent.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2020-2021, the SerenityOS developers. - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#include -#include - -#ifdef KERNEL -# include -#else -# include -#endif - -struct [[gnu::packed]] InodeWatcherEvent { - enum class Type : u32 { - Invalid = 0, - MetadataModified = 1 << 0, - ContentModified = 1 << 1, - Deleted = 1 << 2, - ChildCreated = 1 << 3, - ChildDeleted = 1 << 4, - }; - - int watch_descriptor { 0 }; - Type type { Type::Invalid }; - size_t name_length { 0 }; - // This is a VLA which is written during the read() from the descriptor. - char const name[]; -}; - -AK_ENUM_BITWISE_OPERATORS(InodeWatcherEvent::Type); - -constexpr unsigned MAXIMUM_EVENT_SIZE = sizeof(InodeWatcherEvent) + NAME_MAX + 1; diff --git a/Kernel/API/serenity_limits.h b/Kernel/API/serenity_limits.h deleted file mode 100644 index 54aed638600..00000000000 --- a/Kernel/API/serenity_limits.h +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2022, sin-ack - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#define PTHREAD_STACK_MAX (32 * 1024 * 1024) // 32MiB diff --git a/Tests/LibCore/TestLibCoreFileWatcher.cpp b/Tests/LibCore/TestLibCoreFileWatcher.cpp index aec7adb6a42..8f871ceb0ae 100644 --- a/Tests/LibCore/TestLibCoreFileWatcher.cpp +++ b/Tests/LibCore/TestLibCoreFileWatcher.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include