From: Paul Eggert Date: Mon, 23 May 2011 00:03:40 +0000 (-0700) Subject: * gnutls.c: Remove unused macros. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7400048f602459209e89da4680ed9cc351ace4ee;p=emacs.git * gnutls.c: Remove unused macros. (fn_gnutls_transport_set_lowat, fn_gnutls_transport_set_pull_function): (fn_gnutls_transport_set_push_function) [!WINDOWSNT]: Remove macros that are defined and never used. Caught by gcc -Wunused-macros (GCC 4.6.0, Fedora 14). --- diff --git a/src/ChangeLog b/src/ChangeLog index e324b8ef071..c5594b8555d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2011-05-22 Paul Eggert + + * gnutls.c: Remove unused macros. + (fn_gnutls_transport_set_lowat, fn_gnutls_transport_set_pull_function): + (fn_gnutls_transport_set_push_function) [!WINDOWSNT]: + Remove macros that are defined and never used. + Caught by gcc -Wunused-macros (GCC 4.6.0, Fedora 14). + 2011-05-22 Chong Yidong * xselect.c (syms_of_xselect): Remove unused symbol SAVE_TARGETS. diff --git a/src/gnutls.c b/src/gnutls.c index 540bfaac25c..5558fb9ee0b 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -221,10 +221,7 @@ init_gnutls_functions (Lisp_Object libraries) #define fn_gnutls_record_send gnutls_record_send #define fn_gnutls_strerror gnutls_strerror #define fn_gnutls_transport_set_errno gnutls_transport_set_errno -#define fn_gnutls_transport_set_lowat gnutls_transport_set_lowat #define fn_gnutls_transport_set_ptr2 gnutls_transport_set_ptr2 -#define fn_gnutls_transport_set_pull_function gnutls_transport_set_pull_function -#define fn_gnutls_transport_set_push_function gnutls_transport_set_push_function #define fn_gnutls_x509_crt_check_hostname gnutls_x509_crt_check_hostname #define fn_gnutls_x509_crt_deinit gnutls_x509_crt_deinit #define fn_gnutls_x509_crt_import gnutls_x509_crt_import