From 544747d02cd4c8b6ad2b6e8a8bf35e0242ba2d2e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 15 Sep 2011 11:04:00 +0200 Subject: [PATCH] crypt: Fix function definition. --- src/libcrypto.c | 3 ++- src/libgcrypt.c | 4 +++- 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