With the addition of a proper prototype, this is now WARNS=6 clean.

This commit is contained in:
Philip Paeps 2004-11-13 01:54:22 +00:00
parent 9599d206a4
commit 413efd9141
2 changed files with 2 additions and 1 deletions

View File

@ -3,5 +3,6 @@
PROG= acpiconf
MAN= acpiconf.8
WARNS?= 6
.include <bsd.prog.mk>

View File

@ -46,7 +46,7 @@
static int acpifd;
static int
acpi_init()
acpi_init(void)
{
acpifd = open(ACPIDEV, O_RDWR);
if (acpifd == -1){