diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2018-05-09 17:09:50 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2018-05-11 14:37:48 +0200 |
commit | 3cb7c5cfef25463bd197b0c12ca7966f525ebf73 (patch) | |
tree | e48a48cfd6aa0a3492cf6aec22de0e70f7284577 /apps/openssl.c | |
parent | rsaz_avx2_eligible doesn't take parameters (diff) | |
download | openssl-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/openssl.c')
-rw-r--r-- | apps/openssl.c | 6 |
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; |