changeset 87706:e73d87d0fb58

(big5-to-flat-code, flat-code-to-big5, euc-to-flat-code, flat-code-to-euc): Declare as functions.
author Glenn Morris <rgm@gnu.org>
date Fri, 11 Jan 2008 04:56:06 +0000
parents bbefe7ad9494
children 9aac24fe07cc
files lisp/language/china-util.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/china-util.el	Fri Jan 11 04:55:32 2008 +0000
+++ b/lisp/language/china-util.el	Fri Jan 11 04:56:06 2008 +0000
@@ -175,6 +175,13 @@
 ;; Many kudos to Himi!  The used code has been adapted from his
 ;; mule-ucs package.
 
+;; Silence the compiler, which otherwise warns that these functions
+;; might not be defined at runtime. They are only used when compiling.
+(declare-function big5-to-flat-code "china-util" (num))
+(declare-function flat-code-to-big5 "china-util" (num))
+(declare-function euc-to-flat-code  "china-util" (num))
+(declare-function flat-code-to-euc  "china-util" (num))
+
 (eval-when-compile
 (defun big5-to-flat-code (num)
   "Convert NUM in Big 5 encoding to a `flat code'.