summaryrefslogtreecommitdiffstats
path: root/apps/openssl.c
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/openssl.c
parentd4a8ba77a4004b40890c4a9700ba959fd26af170 (diff)
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/openssl.c')
-rw-r--r--apps/openssl.c6
1 files changed, 3 insertions, 3 deletions
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;