aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-15 11:04:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-15 11:04:00 +0200
commit544747d02cd4c8b6ad2b6e8a8bf35e0242ba2d2e (patch)
tree9dc9b697aaf07db7386dd23cb1278e63478fc252
parent68bab2a490b53c5e396ff0ca2ad957c052ac6547 (diff)
downloadlibssh-544747d02cd4c8b6ad2b6e8a8bf35e0242ba2d2e.tar.gz
libssh-544747d02cd4c8b6ad2b6e8a8bf35e0242ba2d2e.tar.xz
libssh-544747d02cd4c8b6ad2b6e8a8bf35e0242ba2d2e.zip
crypt: Fix function definition.
-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