From cd22b309b432f65d0191e46a7677e0d9c11ea9fd Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 25 Apr 2011 15:47:23 +0200 Subject: [PATCH] lisp/net/gnutls.el (gnutls-errorp): Declare before first use. --- lisp/ChangeLog | 12 ++++++++---- lisp/net/gnutls.el | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c4e28b61586..917fe6cf40a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,9 +1,13 @@ +2011-04-25 Juanma Barranquero + + * net/gnutls.el (gnutls-errorp): Declare before first use. + 2011-04-24 Teodor Zlatanov * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags, verify-error, and verify-hostname-error parameters. Check whether - default trustfile exists before going to use it. Add missing - argument to gnutls-message-maybe call. Return return value. + default trustfile exists before going to use it. Add missing + argument to gnutls-message-maybe call. Return return value. Reported by Claudio Bley . (open-gnutls-stream): Add usage example. @@ -13,8 +17,8 @@ 2011-04-24 Daniel Colascione - * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use - correct match group (bug#8438). + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): + Use correct match group (bug#8438). 2011-04-24 Chong Yidong diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el index 46c20e6b344..8b662795665 100644 --- a/lisp/net/gnutls.el +++ b/lisp/net/gnutls.el @@ -83,6 +83,7 @@ trust and key files, and priority string." 'error-message "GnuTLS error") (declare-function gnutls-boot "gnutls.c" (proc type proplist)) +(declare-function gnutls-errorp "gnutls.c" (error)) (defun gnutls-negotiate (proc type hostname &optional priority-string trustfiles keyfiles verify-flags @@ -157,7 +158,6 @@ defaults to GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT." proc)) -(declare-function gnutls-errorp "gnutls.c" (error)) (declare-function gnutls-error-string "gnutls.c" (error)) (defun gnutls-message-maybe (doit format &rest params) -- 2.39.2