aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/error.c14
-rw-r--r--libssh/libssh.vers2
2 files changed, 1 insertions, 15 deletions
diff --git a/libssh/error.c b/libssh/error.c
index 2ad6777d..9c360d8d 100644
--- a/libssh/error.c
+++ b/libssh/error.c
@@ -29,8 +29,6 @@ MA 02111-1307, USA. */
* @{
*/
-static int verbosity;
-
/* ssh_set_error registers an error with a description. the error code is the class of error, and description is obvious.*/
void ssh_set_error(void *error,int code,char *descr,...){
struct error_struct *err= error;
@@ -64,16 +62,4 @@ int ssh_get_error_code(void *error){
return err->error_code;
}
-void ssh_say(int priority, const char *format, ...){
- va_list va;
- va_start(va,format);
- if(priority <= verbosity)
- vfprintf(stderr,format,va);
- va_end(va);
-}
-
-void ssh_set_verbosity(int num){
- verbosity=num;
-}
-
/** @} */
diff --git a/libssh/libssh.vers b/libssh/libssh.vers
index 7f3a5de4..b28fe633 100644
--- a/libssh/libssh.vers
+++ b/libssh/libssh.vers
@@ -1,6 +1,6 @@
SSH_0.3 {
global:
- ssh_get_error; ssh_get_error_code; ssh_say; ssh_set_verbosity;
+ ssh_get_error; ssh_get_error_code;
ssh_new; ssh_set_options; ssh_get_fd; ssh_silent_disconnect;
ssh_connect; ssh_disconnect; ssh_service_request; ssh_get_issue_banner;
ssh_copyright; ssh_get_version; ssh_finalize;