1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/usr.sbin/wake
Warner Losh b207c9d856 Anything that casts struct sockaddr * to struct sockaddr_foo is safe
due to careful design.  We've not yet figured out how to properly
annotate the sockaddr structs to communicate this to the compiler and
there's a number of constructs in the tree that make this annotation
challenging.

As such, reduce warns to 3 here because this code really isn't warns 6
safe, even if it kinda sorta appears to be on intel (which has no such
alignment restrictions).  Warns 4 adds the -Wcast-align warning.

# fixes the mips tinderbox build
2010-02-09 17:16:13 +00:00
..
Makefile Anything that casts struct sockaddr * to struct sockaddr_foo is safe 2010-02-09 17:16:13 +00:00
wake.8 If there is only one NIC in the system that is up and running, the 2010-02-08 20:57:49 +00:00
wake.c If there is only one NIC in the system that is up and running, the 2010-02-08 20:57:49 +00:00