--- a/libpurple/win32/win32dep.c Sun Feb 19 17:56:40 2023 -0600
+++ b/libpurple/win32/win32dep.c Sun Feb 19 17:57:16 2023 -0600
@@ -631,7 +631,10 @@
/* suppress gcc "no previous prototype" warning */
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
+DllMain(HINSTANCE hinstDLL, G_GNUC_UNUSED DWORD fdwReason, + G_GNUC_UNUSED LPVOID lpvReserved) libpurpledll_hInstance = hinstDLL;
--- a/pidgin/gtkidle.c Sun Feb 19 17:56:40 2023 -0600
+++ b/pidgin/gtkidle.c Sun Feb 19 17:57:16 2023 -0600
@@ -50,7 +50,7 @@
*****************************************************************************/
-pidgin_idle_get_idle_time(PurpleIdleUi *ui) {
+pidgin_idle_get_idle_time(G_GNUC_UNUSED PurpleIdleUi *ui) { return (GetTickCount() - winpidgin_get_lastactive()) / 1000;