mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
gpioevents: Fix build with newer Clang
PR: 277422
This commit is contained in:
parent
7e4ac11b60
commit
42b117a4bd
@ -8,4 +8,6 @@ MK_MAN= no
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
CWARNFLAGS += -Wno-gnu-folding-constant
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -61,7 +61,7 @@ sigio_handler(int sig __unused){
|
||||
}
|
||||
|
||||
static void
|
||||
usage()
|
||||
usage(void)
|
||||
{
|
||||
fprintf(stderr, "usage: %s [-f ctldev] [-m method] [-s] [-n] [-S] [-u]"
|
||||
"[-t timeout] [-d delay-usec] pin intr-config pin-mode [pin intr-config pin-mode ...]\n\n",
|
||||
@ -152,7 +152,7 @@ print_poll_events(short event)
|
||||
}
|
||||
|
||||
static void
|
||||
calc_utc_offset()
|
||||
calc_utc_offset(void)
|
||||
{
|
||||
struct timespec monotime, utctime;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user