# HG changeset patch # User Paper # Date 1715201012 14400 # Node ID 65df2813d0def9e0e59cb1c17c14cdf853fead88 # Parent e66ffc338d824e0d21716ca8235db94d7adef01d dep/animone: header cleanup diff -r e66ffc338d82 -r 65df2813d0de dep/animone/src/fd/bsd.cc --- a/dep/animone/src/fd/bsd.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/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 e66ffc338d82 -r 65df2813d0de dep/animone/src/fd/win32.cc --- a/dep/animone/src/fd/win32.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/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 e66ffc338d82 -r 65df2813d0de dep/animone/src/strategist.cc --- a/dep/animone/src/strategist.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/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 e66ffc338d82 -r 65df2813d0de dep/animone/src/win.cc --- a/dep/animone/src/win.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/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