summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-08-06 19:44:37 +0200
committerTomas Mraz <tomas@openssl.org>2023-09-11 10:15:30 +0200
commite22ebb893e2f44bd08f69f9ce4ccfc5e4d2990e2 (patch)
tree13268f1fb9c3f95b6e4cf8bb3631af0b9c97264f /demos
parentbbaeadb068c3289c7df3b7bea0049f70a648ba00 (diff)
Bad function definition
void f() should probably be void f(void) Found by running the checkpatch.pl Linux script to enforce coding style. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21468)
Diffstat (limited to 'demos')
-rw-r--r--demos/sslecho/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/sslecho/main.c b/demos/sslecho/main.c
index bdc824f2c7..8cf7744501 100644
--- a/demos/sslecho/main.c
+++ b/demos/sslecho/main.c
@@ -118,7 +118,7 @@ void configure_client_context(SSL_CTX *ctx)
}
}
-void usage()
+void usage(void)
{
printf("Usage: sslecho s\n");
printf(" --or--\n");