summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 15:45:48 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 15:45:48 +0000
commit5e03a95a937c8c64e4bfab8f796d88a4168857bd (patch)
tree16ab4b74e19e9890959d71fab53a384751f11917 /include
parent5db7ec356bc424d1dd55ca19cdf9d53e7ea54412 (diff)
downloadlibssh-5e03a95a937c8c64e4bfab8f796d88a4168857bd.tar.gz
libssh-5e03a95a937c8c64e4bfab8f796d88a4168857bd.tar.xz
libssh-5e03a95a937c8c64e4bfab8f796d88a4168857bd.zip
Fix compiler warnings.
Aris please check if ssh_crypto_init, ssh_crypto_finalize and pubkey_get_hash could be removed. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@213 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h2
-rw-r--r--include/libssh/priv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 9bde42e5..de90833c 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -198,7 +198,7 @@ void *string_data(STRING *str);
void string_free(STRING *str);
/* deprecated */
-void ssh_crypto_init();
+void ssh_crypto_init(void);
/* useful for debug */
void ssh_print_hexa(char *descr, const unsigned char *what, int len);
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 436c8830..70f94241 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -499,7 +499,7 @@ void ssh_print_bignum(char *which,bignum num);
void dh_generate_x(SSH_SESSION *session);
void dh_generate_y(SSH_SESSION *session);
void dh_generate_f(SSH_SESSION *session);
-void ssh_crypto_finalize();
+void ssh_crypto_finalize(void);
STRING *dh_get_e(SSH_SESSION *session);
STRING *dh_get_f(SSH_SESSION *session);
void dh_import_f(SSH_SESSION *session,STRING *f_string);