acpi_thinkpad(4): the refresh function should be declarared as per prototype
authorConstantine A. Murenin <cnst+dfly@bugmail.mojo.ru>
Sat, 20 Feb 2010 23:32:48 +0000 (18:32 -0500)
committerConstantine A. Murenin <cnst+dfly@bugmail.mojo.ru>
Sat, 20 Feb 2010 23:32:48 +0000 (18:32 -0500)
* The refresh function should be static void, the inconsistency is again
  linked to 10f97674 (through bringing back the refresh function from 48cf177).

sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c

index bddbd29..67d9508 100644 (file)
@@ -958,7 +958,7 @@ acpi_thinkpad_notify(ACPI_HANDLE h, UINT32 notify, void *context)
        }
 }
 
-void
+static void
 acpi_thinkpad_refresh(void *arg)
 {
        struct acpi_thinkpad_softc *sc = (struct acpi_thinkpad_softc *)arg;