]> git.eshelyaron.com Git - emacs.git/commitdiff
* charset.h (charset_iso_8859_1): Remove decl.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 06:48:18 +0000 (23:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 06:48:18 +0000 (23:48 -0700)
* charset.c (charset_iso_8859_1, charset_emacs, map_charset_for_dump):
Now static.

src/ChangeLog
src/charset.c
src/charset.h

index dcbab4b96b789fd82a32cc7742000395c3518eb5..baf0c1f10a109597ed40716bf01ea67144ac5b0c 100644 (file)
@@ -1,5 +1,9 @@
 2011-04-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * charset.h (charset_iso_8859_1): Remove decl.
+       * charset.c (charset_iso_8859_1, charset_emacs, map_charset_for_dump):
+       Now static.
+
        * ccl.h (check_ccl_update, Vccl_program_table): Remove decls.
        * ccl.c (Vccl_program_table): Now static.
        (check_ccl_update): Remove; unused.
index dc91cea2e12aeeb1f4e99e802d2f76e5e79f1e4a..cc7c53ae61c4ec6706573cb250902222fe50849d 100644 (file)
@@ -76,9 +76,9 @@ static Lisp_Object Qemacs;
 /* The corresponding charsets.  */
 int charset_ascii;
 int charset_eight_bit;
-int charset_iso_8859_1;
+static int charset_iso_8859_1;
 int charset_unicode;
-int charset_emacs;
+static int charset_emacs;
 
 /* The other special charsets.  */
 int charset_jisx0201_roman;
@@ -652,12 +652,10 @@ DEFUN ("charsetp", Fcharsetp, Scharsetp, 1, 1, 0,
 }
 
 
-void map_charset_for_dump (void (*c_function) (Lisp_Object, Lisp_Object),
-                           Lisp_Object function, Lisp_Object arg,
-                           unsigned from, unsigned to);
-
-void
-map_charset_for_dump (void (*c_function) (Lisp_Object, Lisp_Object), Lisp_Object function, Lisp_Object arg, unsigned int from, unsigned int to)
+static void
+map_charset_for_dump (void (*c_function) (Lisp_Object, Lisp_Object),
+                     Lisp_Object function, Lisp_Object arg,
+                     unsigned int from, unsigned int to)
 {
   int from_idx = CODE_POINT_TO_INDEX (temp_charset_work->current, from);
   int to_idx = CODE_POINT_TO_INDEX (temp_charset_work->current, to);
index fef50394e6ec4de769e6154f3e69201a2755657c..74d55a31b43e8441105619fea2a70478409c33fb 100644 (file)
@@ -519,7 +519,6 @@ extern Lisp_Object Qcharsetp;
 
 extern Lisp_Object Qascii;
 extern int charset_ascii, charset_eight_bit;
-extern int charset_iso_8859_1;
 extern int charset_unicode;
 extern int charset_jisx0201_roman;
 extern int charset_jisx0208_1978;