aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2003-05-17 12:49:12 +0000
committerRichard M. Stallman2003-05-17 12:49:12 +0000
commit07c9ebd607bbf27658b752974cc5869276aec8f8 (patch)
tree08e9f70bbb709b246e1987a82b1ccc5a36ffe0aa /src
parentfe72189a11425cd9fe750fc12dfb48a6619f3955 (diff)
downloademacs-07c9ebd607bbf27658b752974cc5869276aec8f8.tar.gz
emacs-07c9ebd607bbf27658b752974cc5869276aec8f8.zip
(specbinding_func): New typedef.
(struct specbinding): Use specbinding_func, to put the `volatile' in the right place. (map_char_table): Declare added arg.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 7bd4c6af771..eb3502bd145 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1706,10 +1706,12 @@ extern void defvar_kboard P_ ((char *, int));
1706 means we saw a buffer-local or frame-local value. Other values of 1706 means we saw a buffer-local or frame-local value. Other values of
1707 WHERE mean an internal error. */ 1707 WHERE mean an internal error. */
1708 1708
1709typedef Lisp_Object (*specbinding_func) P_ ((Lisp_Object));
1710
1709struct specbinding 1711struct specbinding
1710 { 1712 {
1711 volatile Lisp_Object symbol, old_value; 1713 volatile Lisp_Object symbol, old_value;
1712 volatile Lisp_Object (*func) P_ ((Lisp_Object)); 1714 volatile specbinding_func func;
1713 Lisp_Object unused; /* Dividing by 16 is faster than by 12 */ 1715 Lisp_Object unused; /* Dividing by 16 is faster than by 12 */
1714 }; 1716 };
1715 1717
@@ -2313,7 +2315,7 @@ EXFUN (Fcompare_strings, 7);
2313EXFUN (Fstring_lessp, 2); 2315EXFUN (Fstring_lessp, 2);
2314extern int char_table_translate P_ ((Lisp_Object, int)); 2316extern int char_table_translate P_ ((Lisp_Object, int));
2315extern void map_char_table P_ ((void (*) (Lisp_Object, Lisp_Object, Lisp_Object), 2317extern void map_char_table P_ ((void (*) (Lisp_Object, Lisp_Object, Lisp_Object),
2316 Lisp_Object, Lisp_Object, Lisp_Object, int, 2318 Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, int,
2317 Lisp_Object *)); 2319 Lisp_Object *));
2318extern Lisp_Object char_table_ref_and_index P_ ((Lisp_Object, int, int *)); 2320extern Lisp_Object char_table_ref_and_index P_ ((Lisp_Object, int, int *));
2319extern void syms_of_fns P_ ((void)); 2321extern void syms_of_fns P_ ((void));