Emply contemporary function prototypes in bootpd, rather than relying on
authorrwatson <rwatson@FreeBSD.org>
Sun, 26 Mar 2017 14:37:12 +0000 (14:37 +0000)
committerrwatson <rwatson@FreeBSD.org>
Sun, 26 Mar 2017 14:37:12 +0000 (14:37 +0000)
commiteaaaad4644f015db04bbac9d0f7f0c2b2a361475
treec68bbcf3fe7db5225570dd8bce24824c7964f54c
parent2adcf224b077f8c58f230f4934d0ba0fe4464818
Emply contemporary function prototypes in bootpd, rather than relying on
locally defined K&R prototypes in .c files; use appropriate casts for
pointer types now that types for arguments are available at compile time.
This ensures that compilers with multiple incompatible calling conventions
can select the correct calling convention for external functions.

Sponsored by: DARPA, AFRL
MFC after: 1 week
libexec/bootpd/getif.c
libexec/bootpd/tools/bootptest/bootptest.c
libexec/bootpd/tools/bootptest/bootptest.h
libexec/bootpd/tools/bootptest/print-bootp.c