From 7f1afe0e0e14be65087180541d9278dd8cf76dfb Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 3 Dec 2001 00:00:22 +0000 Subject: [PATCH] Style fixes. Use __FBSDID(). Be consistent WRT ANSI use. OK'ed by: obrien --- usr.bin/brandelf/brandelf.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/usr.bin/brandelf/brandelf.c b/usr.bin/brandelf/brandelf.c index dbbacc469f8..451dcd3c530 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 @@ fail: } 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;