Created a shiny new abstraction for the socket handling. Has many
[sgt/putty] / noise.c
diff --git a/noise.c b/noise.c
index 3be3c06..af75f9d 100644 (file)
--- a/noise.c
+++ b/noise.c
@@ -14,7 +14,7 @@
  * GetSystemPowerStatus function.
  */
 typedef BOOL (WINAPI *gsps_t)(LPSYSTEM_POWER_STATUS);
-gsps_t gsps;
+static gsps_t gsps;
 
 /*
  * This function is called once, at PuTTY startup, and will do some
@@ -44,7 +44,6 @@ void noise_get_heavy(void (*func) (void *, int)) {
     mod = GetModuleHandle("KERNEL32");
     if (mod) {
         gsps = (gsps_t)GetProcAddress(mod, "GetSystemPowerStatus");
-        debug(("got gsps=%p\n", gsps));
     }
 }