With the addition of a proper prototype, this is now WARNS=6 clean.
This commit is contained in:
parent
9599d206a4
commit
413efd9141
@ -3,5 +3,6 @@
|
||||
|
||||
PROG= acpiconf
|
||||
MAN= acpiconf.8
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -46,7 +46,7 @@
|
||||
static int acpifd;
|
||||
|
||||
static int
|
||||
acpi_init()
|
||||
acpi_init(void)
|
||||
{
|
||||
acpifd = open(ACPIDEV, O_RDWR);
|
||||
if (acpifd == -1){
|
||||
|
Loading…
Reference in New Issue
Block a user