summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2018-05-09 17:09:50 +0200
committerKurt Roeckx <kurt@roeckx.be>2018-05-11 14:37:48 +0200
commit3cb7c5cfef25463bd197b0c12ca7966f525ebf73 (patch)
treee48a48cfd6aa0a3492cf6aec22de0e70f7284577 /apps
parentrsaz_avx2_eligible doesn't take parameters (diff)
downloadopenssl-3cb7c5cfef25463bd197b0c12ca7966f525ebf73.tar.xz
openssl-3cb7c5cfef25463bd197b0c12ca7966f525ebf73.zip
Use void in all function definitions that do not take any arguments
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #6208
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c2
-rw-r--r--apps/openssl.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/apps.c b/apps/apps.c
index b35ea563ee..d5a6aea206 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -2486,7 +2486,7 @@ BIO *dup_bio_err(int format)
return b;
}
-void destroy_prefix_method()
+void destroy_prefix_method(void)
{
BIO_meth_free(prefix_method);
prefix_method = NULL;
diff --git a/apps/openssl.c b/apps/openssl.c
index 8224ae3d0f..a872e2c5ee 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -74,7 +74,7 @@ static void calculate_columns(DISPLAY_COLUMNS *dc)
dc->columns = (80 - 1) / dc->width;
}
-static int apps_startup()
+static int apps_startup(void)
{
#ifdef SIGPIPE
signal(SIGPIPE, SIG_IGN);
@@ -90,13 +90,13 @@ static int apps_startup()
return 1;
}
-static void apps_shutdown()
+static void apps_shutdown(void)
{
destroy_ui_method();
destroy_prefix_method();
}
-static char *make_config_name()
+static char *make_config_name(void)
{
const char *t;
size_t len;