mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
With clang 15, the following -Werror warning is produced:
tests/sys/net/if_ovpn/if_ovpn_c.c:19:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
fake_sockaddr()
^
void
This is because fake_sockaddr() is declared with a (void) argument list,
but defined with an empty argument list. Make the definition match the
declaration.
MFC after: 3 days
|
||
|---|---|---|
| .. | ||
| if_ovpn | ||
| routing | ||
| dhclient_pcp.conf | ||
| if_bridge_test.sh | ||
| if_clone_test.sh | ||
| if_epair.c | ||
| if_gif.sh | ||
| if_lagg_test.sh | ||
| if_stf.sh | ||
| if_tun_test.sh | ||
| if_vlan.sh | ||
| Makefile | ||
| pcp.py | ||
| randsleep.c | ||
| stp.py | ||