# HG changeset patch # User Paper # Date 1715201012 14400 # Node ID 52927e5118f96448c4c35f5b2c17eea05f4378f5 # Parent 89adf97980831157f88b4eb24a19eeb30b5fceb4 dep/animone: header cleanup diff -r 89adf9798083 -r 52927e5118f9 src/fd/bsd.cc --- a/src/fd/bsd.cc Wed May 08 16:20:37 2024 -0400 +++ b/src/fd/bsd.cc Wed May 08 16:43:32 2024 -0400 @@ -19,7 +19,6 @@ #endif #include -#include namespace animone::internal::bsd { diff -r 89adf9798083 -r 52927e5118f9 src/fd/win32.cc --- a/src/fd/win32.cc Wed May 08 16:20:37 2024 -0400 +++ b/src/fd/win32.cc Wed May 08 16:43:32 2024 -0400 @@ -30,8 +30,6 @@ /* SystemExtendedHandleInformation is only available in NT 5.1+ (XP and higher) and provides information for * 32-bit PIDs, unlike SystemHandleInformation - * - * TODO: implement SystemHandleInformation for systems older than XP */ static constexpr SYSTEM_INFORMATION_CLASS SystemExtendedHandleInformation = static_cast(0x40); static constexpr NTSTATUS STATUS_INFO_LENGTH_MISMATCH = 0xC0000004UL; diff -r 89adf9798083 -r 52927e5118f9 src/strategist.cc --- a/src/strategist.cc Wed May 08 16:20:37 2024 -0400 +++ b/src/strategist.cc Wed May 08 16:43:32 2024 -0400 @@ -1,12 +1,11 @@ #include +#include #include "animone.h" #include "animone/fd.h" #include "animone/strategies.h" #include "animone/util.h" -#include - /* this was STUPIDLY slow in Anisthesia, oops! */ namespace animone::internal { diff -r 89adf9798083 -r 52927e5118f9 src/win.cc --- a/src/win.cc Wed May 08 16:20:37 2024 -0400 +++ b/src/win.cc Wed May 08 16:43:32 2024 -0400 @@ -12,15 +12,11 @@ # include "animone/win/x11.h" #endif -#include - namespace animone::internal { bool EnumerateWindows(window_proc_t window_proc) { bool success = false; - std::cout << "enumerating windows" << std::endl; - #ifdef WIN32 success |= win32::EnumerateWindows(window_proc); #endif