Hello! In the course of preparing a FreeBSD-port of owfs, I came up with the attached patch-set, that quiets down compiler warnings I encountered building on FreeBSD-9.1/amd64. These are only for the owlib (owcapi is clean).
The compiler flags I'm using are fairly strict -- to the level of WARNS=3 on FreeBSD:
-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign
most of the warnings are either functions missing declarations or stuff defined, but never used.
Because there is no PF_NETLINK
on FreeBSD, I chose to simply ignore the OW_W1
code (for now). Please, consider including these in the next release. Thank you!
Are these patches still current?