diff --git a/usr.bin/brandelf/brandelf.c b/usr.bin/brandelf/brandelf.c index dbbacc469f88..451dcd3c530b 100644 --- a/usr.bin/brandelf/brandelf.c +++ b/usr.bin/brandelf/brandelf.c @@ -27,25 +27,24 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include + +__FBSDID("$FreeBSD$"); #include #include +#include +#include #include #include #include #include #include -#include -#include static int elftype(const char *); static const char *iselftype(int); static void printelftypes(void); -static void usage __P((void)); +static void usage(void); struct ELFtypes { const char *str; @@ -164,7 +163,7 @@ main(int argc, char **argv) } static void -usage() +usage(void) { fprintf(stderr, "usage: brandelf [-f ELF ABI number] [-v] [-l] [-t string] file ...\n"); exit(1); @@ -197,7 +196,7 @@ elftype(const char *elfstrtype) } static void -printelftypes() +printelftypes(void) { size_t elfwalk;