mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
With the addition of a proper prototype, this is now WARNS=6 clean.
This commit is contained in:
parent
9599d206a4
commit
413efd9141
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137638
@ -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