changeset 86484:b7d08fe21e5e

(pgg-parse-24, pgg-parse-crc24-string): Define for compiler.
author Glenn Morris <rgm@gnu.org>
date Tue, 27 Nov 2007 04:10:20 +0000
parents 99a67ed52eaa
children 2256fea11eb1
files lisp/pgg-parse.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/pgg-parse.el	Tue Nov 27 04:08:54 2007 +0000
+++ b/lisp/pgg-parse.el	Tue Nov 27 04:10:20 2007 +0000
@@ -178,6 +178,8 @@
 	      (repeat))))
 	(repeat)))))
 
+  (defvar pgg-parse-crc24)
+
   (defun pgg-parse-crc24-string (string)
     (let ((h (vector nil 183 1230 nil nil nil nil nil nil)))
       (ccl-execute-on-string pgg-parse-crc24 h string)
@@ -463,6 +465,10 @@
 		       pgg-parse-public-key-algorithm-alist)))
     result))
 
+;; p-d-p only calls this if it is defined, but the compiler does not
+;; recognize that.
+(declare-function pgg-parse-crc24-string "pgg-parse" (string))
+
 (defun pgg-decode-packets ()
   (if (re-search-forward "^=\\([A-Za-z0-9+/]\\{4\\}\\)$" nil t)
       (let ((p (match-beginning 0))