From 22e74e3bab259ed8b6a89cef1fe85f2e99c530b8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 13 Oct 2009 22:14:23 +0200 Subject: Remove deprecated functions. --- include/libssh/sftp.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index 6d6d71a..0293f29 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -47,12 +47,6 @@ extern "C" { #endif -#ifdef __GNUC__ -#define SFTP_DEPRECATED __attribute__ ((deprecated)) -#else -#define SFTP_DEPRECATED -#endif - #ifdef _WIN32 #ifndef uid_t typedef uint32_t uid_t; @@ -381,11 +375,6 @@ LIBSSH_API void sftp_attributes_free(sftp_attributes file); */ LIBSSH_API int sftp_closedir(sftp_dir dir); -/** - * @deprecated Use sftp_closedir() instead. - */ -LIBSSH_API int sftp_dir_close(sftp_dir dir) SFTP_DEPRECATED; - /** * @brief Close an open file handle. * @@ -397,11 +386,6 @@ LIBSSH_API int sftp_dir_close(sftp_dir dir) SFTP_DEPRECATED; */ LIBSSH_API int sftp_close(sftp_file file); -/** - * @deprecated Use sftp_close() instead. - */ -LIBSSH_API int sftp_file_close(sftp_file file) SFTP_DEPRECATED; - /** * @brief Open a file on the server. * @@ -578,11 +562,6 @@ LIBSSH_API uint64_t sftp_tell64(sftp_file file); */ LIBSSH_API void sftp_rewind(sftp_file file); -/** - * @deprecated Use sftp_unlink() instead. - */ -LIBSSH_API int sftp_rm(sftp_session sftp, const char *file) SFTP_DEPRECATED; - /** * @brief Unlink (delete) a file. * -- cgit