aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcrypto.c3
-rw-r--r--src/libgcrypt.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/libcrypto.c b/src/libcrypto.c
index da3f09db..02491030 100644
--- a/src/libcrypto.c
+++ b/src/libcrypto.c
@@ -527,7 +527,8 @@ static struct crypto_struct ssh_ciphertab[] = {
};
-struct crypto_struct *ssh_get_ciphertab(){
+struct crypto_struct *ssh_get_ciphertab(void)
+{
return ssh_ciphertab;
}
diff --git a/src/libgcrypt.c b/src/libgcrypt.c
index 2e2695c8..b31ac709 100644
--- a/src/libgcrypt.c
+++ b/src/libgcrypt.c
@@ -474,7 +474,9 @@ static struct crypto_struct ssh_ciphertab[] = {
}
};
-struct crypto_struct *ssh_get_ciphertab(){
+struct crypto_struct *ssh_get_ciphertab(void)
+{
return ssh_ciphertab;
}
+
#endif