statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

commit e0f3365d95ac58fa2c6deca257f9858d271b9b01
parent 45cc7029f73d7be6493fb29056b462ee4e9a4d40
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 26 Dec 2019 15:37:58 +0100

Use OpenBSD style(9) for function prototypes and declarations.

Diffstat:
Mcompat/pledge.c | 3++-
Msrc/statzone.c | 6++++--
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/compat/pledge.c b/compat/pledge.c @@ -1,5 +1,6 @@ int -pledge(const char *promises, const char *execpromises) { +pledge(const char *promises, const char *execpromises) +{ (void)promises; (void)execpromises; return 0; diff --git a/src/statzone.c b/src/statzone.c @@ -67,7 +67,8 @@ struct my_struct *uniqueNS = NULL; struct my_struct *ns; void -displayUsage() { +displayUsage() +{ printf("USAGE: statzone [options] inputfile\n\n" \ "Options are:\n\n" \ " -h Display usage\n" \ @@ -75,7 +76,8 @@ displayUsage() { } int -main(int argc, char *argv[]) { +main(int argc, char *argv[]) +{ char *token = NULL; char *token_lc = NULL; int token_count;