aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan D2010-07-02 11:26:33 +0200
committerJan D2010-07-02 11:26:33 +0200
commit383e09700c9b3d175c506301d363be4597827db7 (patch)
treeb72edd130163ced1973c2dabcd3708573f208fa2 /src
parentd9170db5208a86d94a6d8a89c8fa1e678bd094bd (diff)
downloademacs-383e09700c9b3d175c506301d363be4597827db7.tar.gz
emacs-383e09700c9b3d175c506301d363be4597827db7.zip
Remove P_ and __P macros.
* lwlib/lwlib-Xaw.h: Remove P_ and __P macros. * lwlib/lwlib-Xlw.h: * lwlib/lwlib-Xm.h: * lwlib/lwlib-int.h: * lwlib/lwlib-utils.h: * lwlib/lwlib.h: Likewise. * src/buffer.h: Remove P_ and __P macros. * src/category.h: * src/ccl.h: * src/character.h: * src/charset.h: * src/cm.h: * src/coding.h: * src/composite.h: * src/dispextern.h: * src/disptab.h: * src/font.h: * src/fontset.h: * src/frame.h: * src/gtkutil.h: * src/indent.h: * src/intervals.h: * src/keyboard.h: * src/keymap.h: * src/lisp.h: * src/macros.h: * src/md5.h: * src/menu.h: * src/msdos.h: * src/nsterm.h: * src/puresize.h: * src/region-cache.h: * src/syntax.h: * src/syssignal.h: * src/systime.h: * src/termhooks.h: * src/w32term.h: * src/widget.h: * src/window.h: * src/xgselect.h: * src/xsettings.h: * src/xterm.h: Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog40
-rw-r--r--src/atimer.h20
-rw-r--r--src/buffer.h46
-rw-r--r--src/category.h4
-rw-r--r--src/ccl.h8
-rw-r--r--src/character.h38
-rw-r--r--src/charset.h18
-rw-r--r--src/cm.h12
-rw-r--r--src/coding.h68
-rw-r--r--src/composite.h54
-rw-r--r--src/dispextern.h662
-rw-r--r--src/disptab.h6
-rw-r--r--src/font.h216
-rw-r--r--src/fontset.h30
-rw-r--r--src/frame.h88
-rw-r--r--src/gtkutil.h158
-rw-r--r--src/indent.h28
-rw-r--r--src/intervals.h118
-rw-r--r--src/keyboard.h98
-rw-r--r--src/keymap.h24
-rw-r--r--src/lisp.h876
-rw-r--r--src/macros.h6
-rw-r--r--src/md5.h20
-rw-r--r--src/menu.h20
-rw-r--r--src/msdos.h6
-rw-r--r--src/nsterm.h4
-rw-r--r--src/puresize.h2
-rw-r--r--src/region-cache.h32
-rw-r--r--src/syntax.h6
-rw-r--r--src/syssignal.h10
-rw-r--r--src/systime.h6
-rw-r--r--src/termhooks.h84
-rw-r--r--src/w32term.h10
-rw-r--r--src/widget.h4
-rw-r--r--src/window.h66
-rw-r--r--src/xgselect.h12
-rw-r--r--src/xsettings.h10
-rw-r--r--src/xterm.h270
38 files changed, 1610 insertions, 1570 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 46d41bf24bd..c951ed32557 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,43 @@
12010-07-02 Jan Djärv <jan.h.d@swipnet.se>
2
3 Remove P_ and __P macros.
4 * buffer.h: Remove P_ and __P macros.
5 * category.h:
6 * ccl.h:
7 * character.h:
8 * charset.h:
9 * cm.h:
10 * coding.h:
11 * composite.h:
12 * dispextern.h:
13 * disptab.h:
14 * font.h:
15 * fontset.h:
16 * frame.h:
17 * gtkutil.h:
18 * indent.h:
19 * intervals.h:
20 * keyboard.h:
21 * keymap.h:
22 * lisp.h:
23 * macros.h:
24 * md5.h:
25 * menu.h:
26 * msdos.h:
27 * nsterm.h:
28 * puresize.h:
29 * region-cache.h:
30 * syntax.h:
31 * syssignal.h:
32 * systime.h:
33 * termhooks.h:
34 * w32term.h:
35 * widget.h:
36 * window.h:
37 * xgselect.h:
38 * xsettings.h:
39 * xterm.h: Likewise.
40
12010-07-02 Dan Nicolaescu <dann@ics.uci.edu> 412010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
2 42
3 * lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf. 43 * lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf.
diff --git a/src/atimer.h b/src/atimer.h
index fd354caf54d..e0f81a51d9a 100644
--- a/src/atimer.h
+++ b/src/atimer.h
@@ -49,7 +49,7 @@ enum atimer_type
49 49
50/* Type of timer callback functions. */ 50/* Type of timer callback functions. */
51 51
52typedef void (* atimer_callback) P_ ((struct atimer *timer)); 52typedef void (* atimer_callback) (struct atimer *timer);
53 53
54/* Structure describing an asynchronous timer. */ 54/* Structure describing an asynchronous timer. */
55 55
@@ -77,15 +77,15 @@ struct atimer
77 77
78/* Function prototypes. */ 78/* Function prototypes. */
79 79
80struct atimer *start_atimer P_ ((enum atimer_type, EMACS_TIME, 80struct atimer *start_atimer (enum atimer_type, EMACS_TIME,
81 atimer_callback, void *)); 81 atimer_callback, void *);
82void cancel_atimer P_ ((struct atimer *)); 82void cancel_atimer (struct atimer *);
83void do_pending_atimers P_ ((void)); 83void do_pending_atimers (void);
84void init_atimer P_ ((void)); 84void init_atimer (void);
85void turn_on_atimers P_ ((int)); 85void turn_on_atimers (int);
86void stop_other_atimers P_ ((struct atimer *)); 86void stop_other_atimers (struct atimer *);
87void run_all_atimers P_ ((void)); 87void run_all_atimers (void);
88Lisp_Object unwind_stop_other_atimers P_ ((Lisp_Object)); 88Lisp_Object unwind_stop_other_atimers (Lisp_Object);
89 89
90#endif /* EMACS_ATIMER_H */ 90#endif /* EMACS_ATIMER_H */
91 91
diff --git a/src/buffer.h b/src/buffer.h
index d03152abd85..8e4e5d569ae 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -225,12 +225,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
225#define BUF_TEMP_SET_PT(buffer, position) \ 225#define BUF_TEMP_SET_PT(buffer, position) \
226 (temp_set_point ((buffer), (position))) 226 (temp_set_point ((buffer), (position)))
227 227
228extern void set_point P_ ((EMACS_INT)); 228extern void set_point (EMACS_INT);
229extern INLINE void temp_set_point P_ ((struct buffer *, EMACS_INT)); 229extern INLINE void temp_set_point (struct buffer *, EMACS_INT);
230extern void set_point_both P_ ((EMACS_INT, EMACS_INT)); 230extern void set_point_both (EMACS_INT, EMACS_INT);
231extern INLINE void temp_set_point_both P_ ((struct buffer *, 231extern INLINE void temp_set_point_both (struct buffer *,
232 EMACS_INT, EMACS_INT)); 232 EMACS_INT, EMACS_INT);
233extern void enlarge_buffer_text P_ ((struct buffer *, EMACS_INT)); 233extern void enlarge_buffer_text (struct buffer *, EMACS_INT);
234 234
235 235
236/* Macros for setting the BEGV, ZV or PT of a given buffer. 236/* Macros for setting the BEGV, ZV or PT of a given buffer.
@@ -857,23 +857,23 @@ extern struct buffer buffer_local_flags;
857 857
858extern struct buffer buffer_local_symbols; 858extern struct buffer buffer_local_symbols;
859 859
860extern void delete_all_overlays P_ ((struct buffer *)); 860extern void delete_all_overlays (struct buffer *);
861extern void reset_buffer P_ ((struct buffer *)); 861extern void reset_buffer (struct buffer *);
862extern void evaporate_overlays P_ ((EMACS_INT)); 862extern void evaporate_overlays (EMACS_INT);
863extern int overlays_at P_ ((EMACS_INT pos, int extend, Lisp_Object **vec_ptr, 863extern int overlays_at (EMACS_INT pos, int extend, Lisp_Object **vec_ptr,
864 int *len_ptr, EMACS_INT *next_ptr, 864 int *len_ptr, EMACS_INT *next_ptr,
865 EMACS_INT *prev_ptr, int change_req)); 865 EMACS_INT *prev_ptr, int change_req);
866extern int sort_overlays P_ ((Lisp_Object *, int, struct window *)); 866extern int sort_overlays (Lisp_Object *, int, struct window *);
867extern void recenter_overlay_lists P_ ((struct buffer *, EMACS_INT)); 867extern void recenter_overlay_lists (struct buffer *, EMACS_INT);
868extern int overlay_strings P_ ((EMACS_INT, struct window *, unsigned char **)); 868extern int overlay_strings (EMACS_INT, struct window *, unsigned char **);
869extern void validate_region P_ ((Lisp_Object *, Lisp_Object *)); 869extern void validate_region (Lisp_Object *, Lisp_Object *);
870extern void set_buffer_internal P_ ((struct buffer *)); 870extern void set_buffer_internal (struct buffer *);
871extern void set_buffer_internal_1 P_ ((struct buffer *)); 871extern void set_buffer_internal_1 (struct buffer *);
872extern void set_buffer_temp P_ ((struct buffer *)); 872extern void set_buffer_temp (struct buffer *);
873extern void record_buffer P_ ((Lisp_Object)); 873extern void record_buffer (Lisp_Object);
874extern void buffer_slot_type_mismatch P_ ((Lisp_Object, int)) NO_RETURN; 874extern void buffer_slot_type_mismatch (Lisp_Object, int) NO_RETURN;
875extern void fix_overlays_before P_ ((struct buffer *, EMACS_INT, EMACS_INT)); 875extern void fix_overlays_before (struct buffer *, EMACS_INT, EMACS_INT);
876extern void mmap_set_vars P_ ((int)); 876extern void mmap_set_vars (int);
877 877
878/* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements. 878/* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements.
879 If NEXTP is non-NULL, return next overlay there. 879 If NEXTP is non-NULL, return next overlay there.
diff --git a/src/category.h b/src/category.h
index b0fca6c7155..e636e32827d 100644
--- a/src/category.h
+++ b/src/category.h
@@ -113,8 +113,8 @@ extern Lisp_Object _temp_category_set;
113 (!(SINGLE_BYTE_CHAR_P (c1) && SINGLE_BYTE_CHAR_P (c2)) \ 113 (!(SINGLE_BYTE_CHAR_P (c1) && SINGLE_BYTE_CHAR_P (c2)) \
114 && word_boundary_p (c1, c2)) 114 && word_boundary_p (c1, c2))
115 115
116extern int word_boundary_p P_ ((int, int)); 116extern int word_boundary_p (int, int);
117extern void set_category_set P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 117extern void set_category_set (Lisp_Object, Lisp_Object, Lisp_Object);
118 118
119/* arch-tag: 309dfe83-c3e2-4d22-8e81-faae5aece0ff 119/* arch-tag: 309dfe83-c3e2-4d22-8e81-faae5aece0ff
120 (do not change this comment) */ 120 (do not change this comment) */
diff --git a/src/ccl.h b/src/ccl.h
index 54fc576c7e0..e4414ddf65c 100644
--- a/src/ccl.h
+++ b/src/ccl.h
@@ -97,13 +97,13 @@ extern Lisp_Object Vfont_ccl_encoder_alist;
97 97
98/* Setup fields of the structure pointed by CCL appropriately for the 98/* Setup fields of the structure pointed by CCL appropriately for the
99 execution of ccl program CCL_PROG (symbol or vector). */ 99 execution of ccl program CCL_PROG (symbol or vector). */
100extern int setup_ccl_program P_ ((struct ccl_program *, Lisp_Object)); 100extern int setup_ccl_program (struct ccl_program *, Lisp_Object);
101 101
102/* Check if CCL is updated or not. If not, re-setup members of CCL. */ 102/* Check if CCL is updated or not. If not, re-setup members of CCL. */
103extern int check_ccl_update P_ ((struct ccl_program *)); 103extern int check_ccl_update (struct ccl_program *);
104 104
105extern void ccl_driver P_ ((struct ccl_program *, int *, int *, int, int, 105extern void ccl_driver (struct ccl_program *, int *, int *, int, int,
106 Lisp_Object)); 106 Lisp_Object);
107 107
108/* Vector of CCL program names vs corresponding program data. */ 108/* Vector of CCL program names vs corresponding program data. */
109extern Lisp_Object Vccl_program_table; 109extern Lisp_Object Vccl_program_table;
diff --git a/src/character.h b/src/character.h
index 429435e28d0..f9d95010655 100644
--- a/src/character.h
+++ b/src/character.h
@@ -596,24 +596,24 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
596 : 0) 596 : 0)
597 597
598 598
599extern int char_resolve_modifier_mask P_ ((int)); 599extern int char_resolve_modifier_mask (int);
600extern int char_string P_ ((unsigned, unsigned char *)); 600extern int char_string (unsigned, unsigned char *);
601extern int string_char P_ ((const unsigned char *, 601extern int string_char (const unsigned char *,
602 const unsigned char **, int *)); 602 const unsigned char **, int *);
603 603
604extern int translate_char P_ ((Lisp_Object, int c)); 604extern int translate_char (Lisp_Object, int c);
605extern int char_printable_p P_ ((int c)); 605extern int char_printable_p (int c);
606extern void parse_str_as_multibyte P_ ((const unsigned char *, int, int *, 606extern void parse_str_as_multibyte (const unsigned char *, int, int *,
607 int *)); 607 int *);
608extern int parse_str_to_multibyte P_ ((unsigned char *, int)); 608extern int parse_str_to_multibyte (unsigned char *, int);
609extern int str_as_multibyte P_ ((unsigned char *, int, int, int *)); 609extern int str_as_multibyte (unsigned char *, int, int, int *);
610extern int str_to_multibyte P_ ((unsigned char *, int, int)); 610extern int str_to_multibyte (unsigned char *, int, int);
611extern int str_as_unibyte P_ ((unsigned char *, int)); 611extern int str_as_unibyte (unsigned char *, int);
612extern EMACS_INT str_to_unibyte P_ ((const unsigned char *, unsigned char *, 612extern EMACS_INT str_to_unibyte (const unsigned char *, unsigned char *,
613 EMACS_INT, int)); 613 EMACS_INT, int);
614extern int strwidth P_ ((unsigned char *, int)); 614extern int strwidth (unsigned char *, int);
615extern int c_string_width P_ ((const unsigned char *, int, int, int *, int *)); 615extern int c_string_width (const unsigned char *, int, int, int *, int *);
616extern int lisp_string_width P_ ((Lisp_Object, int, int *, int *)); 616extern int lisp_string_width (Lisp_Object, int, int *, int *);
617 617
618extern Lisp_Object Vprintable_chars; 618extern Lisp_Object Vprintable_chars;
619 619
@@ -624,7 +624,7 @@ extern Lisp_Object Vchar_direction_table;
624extern Lisp_Object Vchar_unify_table; 624extern Lisp_Object Vchar_unify_table;
625extern Lisp_Object Vunicode_category_table; 625extern Lisp_Object Vunicode_category_table;
626 626
627extern Lisp_Object string_escape_byte8 P_ ((Lisp_Object)); 627extern Lisp_Object string_escape_byte8 (Lisp_Object);
628 628
629/* Return a translation table of id number ID. */ 629/* Return a translation table of id number ID. */
630#define GET_TRANSLATION_TABLE(id) \ 630#define GET_TRANSLATION_TABLE(id) \
diff --git a/src/charset.h b/src/charset.h
index 718859929df..095dcefe15b 100644
--- a/src/charset.h
+++ b/src/charset.h
@@ -534,17 +534,17 @@ extern int charset_ksc5601;
534 534
535extern int charset_unibyte; 535extern int charset_unibyte;
536 536
537extern struct charset *char_charset P_ ((int, Lisp_Object, unsigned *)); 537extern struct charset *char_charset (int, Lisp_Object, unsigned *);
538extern Lisp_Object charset_attributes P_ ((int)); 538extern Lisp_Object charset_attributes (int);
539 539
540extern int maybe_unify_char P_ ((int, Lisp_Object)); 540extern int maybe_unify_char (int, Lisp_Object);
541extern int decode_char P_ ((struct charset *, unsigned)); 541extern int decode_char (struct charset *, unsigned);
542extern unsigned encode_char P_ ((struct charset *, int)); 542extern unsigned encode_char (struct charset *, int);
543extern int string_xstring_p P_ ((Lisp_Object)); 543extern int string_xstring_p (Lisp_Object);
544 544
545extern void map_charset_chars P_ ((void (*) (Lisp_Object, Lisp_Object), 545extern void map_charset_chars (void (*) (Lisp_Object, Lisp_Object),
546 Lisp_Object, Lisp_Object, 546 Lisp_Object, Lisp_Object,
547 struct charset *, unsigned, unsigned)); 547 struct charset *, unsigned, unsigned);
548 548
549EXFUN (Funify_charset, 3); 549EXFUN (Funify_charset, 3);
550 550
diff --git a/src/cm.h b/src/cm.h
index 4364a39962e..f27f1c83bdb 100644
--- a/src/cm.h
+++ b/src/cm.h
@@ -163,12 +163,12 @@ extern int evalcost ();
163#define emacs_tputs(tty, str, affcnt, putc) (current_tty = (tty), tputs (str, affcnt, putc)) 163#define emacs_tputs(tty, str, affcnt, putc) (current_tty = (tty), tputs (str, affcnt, putc))
164 164
165extern struct tty_display_info *current_tty; 165extern struct tty_display_info *current_tty;
166extern void cmcheckmagic P_ ((struct tty_display_info *)); 166extern void cmcheckmagic (struct tty_display_info *);
167extern int cmputc P_ ((int)); 167extern int cmputc (int);
168extern void cmcostinit P_ ((struct tty_display_info *)); 168extern void cmcostinit (struct tty_display_info *);
169extern void cmgoto P_ ((struct tty_display_info *, int, int)); 169extern void cmgoto (struct tty_display_info *, int, int);
170extern void Wcm_clear P_ ((struct tty_display_info *)); 170extern void Wcm_clear (struct tty_display_info *);
171extern int Wcm_init P_ ((struct tty_display_info *)); 171extern int Wcm_init (struct tty_display_info *);
172 172
173/* arch-tag: acc1535a-7136-49d6-b22d-9bc85702251b 173/* arch-tag: acc1535a-7136-49d6-b22d-9bc85702251b
174 (do not change this comment) */ 174 (do not change this comment) */
diff --git a/src/coding.h b/src/coding.h
index f47c33847f9..156ead91ed2 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -499,10 +499,10 @@ struct coding_system
499 499
500 int default_char; 500 int default_char;
501 501
502 int (*detector) P_ ((struct coding_system *, 502 int (*detector) (struct coding_system *,
503 struct coding_detection_info *)); 503 struct coding_detection_info *);
504 void (*decoder) P_ ((struct coding_system *)); 504 void (*decoder) (struct coding_system *);
505 int (*encoder) P_ ((struct coding_system *)); 505 int (*encoder) (struct coding_system *);
506}; 506};
507 507
508/* Meanings of bits in the member `common_flags' of the structure 508/* Meanings of bits in the member `common_flags' of the structure
@@ -691,33 +691,33 @@ struct coding_system
691#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) 691#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
692 692
693/* Extern declarations. */ 693/* Extern declarations. */
694extern Lisp_Object code_conversion_save P_ ((int, int)); 694extern Lisp_Object code_conversion_save (int, int);
695extern int decoding_buffer_size P_ ((struct coding_system *, int)); 695extern int decoding_buffer_size (struct coding_system *, int);
696extern int encoding_buffer_size P_ ((struct coding_system *, int)); 696extern int encoding_buffer_size (struct coding_system *, int);
697extern void setup_coding_system P_ ((Lisp_Object, struct coding_system *)); 697extern void setup_coding_system (Lisp_Object, struct coding_system *);
698extern Lisp_Object coding_charset_list P_ ((struct coding_system *)); 698extern Lisp_Object coding_charset_list (struct coding_system *);
699extern Lisp_Object coding_system_charset_list P_ ((Lisp_Object)); 699extern Lisp_Object coding_system_charset_list (Lisp_Object);
700extern void detect_coding P_ ((struct coding_system *)); 700extern void detect_coding (struct coding_system *);
701extern Lisp_Object code_convert_region P_ ((Lisp_Object, Lisp_Object, 701extern Lisp_Object code_convert_region (Lisp_Object, Lisp_Object,
702 Lisp_Object, Lisp_Object, 702 Lisp_Object, Lisp_Object,
703 int, int)); 703 int, int);
704extern Lisp_Object code_convert_string P_ ((Lisp_Object, Lisp_Object, 704extern Lisp_Object code_convert_string (Lisp_Object, Lisp_Object,
705 Lisp_Object, int, int, int)); 705 Lisp_Object, int, int, int);
706extern Lisp_Object code_convert_string_norecord P_ ((Lisp_Object, Lisp_Object, 706extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object,
707 int)); 707 int);
708extern Lisp_Object raw_text_coding_system P_ ((Lisp_Object)); 708extern Lisp_Object raw_text_coding_system (Lisp_Object);
709extern Lisp_Object coding_inherit_eol_type P_ ((Lisp_Object, Lisp_Object)); 709extern Lisp_Object coding_inherit_eol_type (Lisp_Object, Lisp_Object);
710 710
711extern int decode_coding_gap P_ ((struct coding_system *, 711extern int decode_coding_gap (struct coding_system *,
712 EMACS_INT, EMACS_INT)); 712 EMACS_INT, EMACS_INT);
713extern int encode_coding_gap P_ ((struct coding_system *, 713extern int encode_coding_gap (struct coding_system *,
714 EMACS_INT, EMACS_INT)); 714 EMACS_INT, EMACS_INT);
715extern void decode_coding_object P_ ((struct coding_system *, 715extern void decode_coding_object (struct coding_system *,
716 Lisp_Object, EMACS_INT, EMACS_INT, 716 Lisp_Object, EMACS_INT, EMACS_INT,
717 EMACS_INT, EMACS_INT, Lisp_Object)); 717 EMACS_INT, EMACS_INT, Lisp_Object);
718extern void encode_coding_object P_ ((struct coding_system *, 718extern void encode_coding_object (struct coding_system *,
719 Lisp_Object, EMACS_INT, EMACS_INT, 719 Lisp_Object, EMACS_INT, EMACS_INT,
720 EMACS_INT, EMACS_INT, Lisp_Object)); 720 EMACS_INT, EMACS_INT, Lisp_Object);
721 721
722/* Macros for backward compatibility. */ 722/* Macros for backward compatibility. */
723 723
@@ -753,7 +753,7 @@ extern void encode_coding_object P_ ((struct coding_system *,
753 } while (0) 753 } while (0)
754 754
755 755
756extern Lisp_Object preferred_coding_system P_ (()); 756extern Lisp_Object preferred_coding_system ();
757 757
758 758
759extern Lisp_Object Qutf_8, Qutf_8_emacs; 759extern Lisp_Object Qutf_8, Qutf_8_emacs;
@@ -780,7 +780,7 @@ extern Lisp_Object Qcall_process, Qcall_process_region;
780extern Lisp_Object Qstart_process, Qopen_network_stream; 780extern Lisp_Object Qstart_process, Qopen_network_stream;
781extern Lisp_Object Qwrite_region; 781extern Lisp_Object Qwrite_region;
782 782
783extern char *emacs_strerror P_ ((int)); 783extern char *emacs_strerror (int);
784 784
785/* Coding-system for reading files and receiving data from process. */ 785/* Coding-system for reading files and receiving data from process. */
786extern Lisp_Object Vcoding_system_for_read; 786extern Lisp_Object Vcoding_system_for_read;
@@ -823,7 +823,7 @@ extern Lisp_Object Vdefault_file_name_coding_system;
823extern Lisp_Object Qcoding_system_error; 823extern Lisp_Object Qcoding_system_error;
824 824
825extern char emacs_mule_bytes[256]; 825extern char emacs_mule_bytes[256];
826extern int emacs_mule_string_char P_ ((unsigned char *)); 826extern int emacs_mule_string_char (unsigned char *);
827 827
828#endif /* EMACS_CODING_H */ 828#endif /* EMACS_CODING_H */
829 829
diff --git a/src/composite.h b/src/composite.h
index 59c237c8de2..554ab554115 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -212,16 +212,16 @@ extern Lisp_Object Vauto_composition_function;
212extern Lisp_Object Qauto_composition_function; 212extern Lisp_Object Qauto_composition_function;
213extern Lisp_Object Vcomposition_function_table; 213extern Lisp_Object Vcomposition_function_table;
214 214
215extern int get_composition_id P_ ((int, int, int, Lisp_Object, Lisp_Object)); 215extern int get_composition_id (int, int, int, Lisp_Object, Lisp_Object);
216extern int find_composition P_ ((int, int, EMACS_INT *, EMACS_INT *, Lisp_Object *, 216extern int find_composition (int, int, EMACS_INT *, EMACS_INT *, Lisp_Object *,
217 Lisp_Object)); 217 Lisp_Object);
218extern void update_compositions P_ ((EMACS_INT, EMACS_INT, int)); 218extern void update_compositions (EMACS_INT, EMACS_INT, int);
219extern void make_composition_value_copy P_ ((Lisp_Object)); 219extern void make_composition_value_copy (Lisp_Object);
220extern void compose_region P_ ((int, int, Lisp_Object, Lisp_Object, 220extern void compose_region (int, int, Lisp_Object, Lisp_Object,
221 Lisp_Object)); 221 Lisp_Object);
222extern void syms_of_composite P_ ((void)); 222extern void syms_of_composite (void);
223extern void compose_text P_ ((int, int, Lisp_Object, Lisp_Object, 223extern void compose_text (int, int, Lisp_Object, Lisp_Object,
224 Lisp_Object)); 224 Lisp_Object);
225 225
226/* Macros for lispy glyph-string. This is completely different from 226/* Macros for lispy glyph-string. This is completely different from
227 struct glyph_string. */ 227 struct glyph_string. */
@@ -303,23 +303,23 @@ struct composition_it;
303struct face; 303struct face;
304struct font_metrics; 304struct font_metrics;
305 305
306extern Lisp_Object composition_gstring_put_cache P_ ((Lisp_Object, int)); 306extern Lisp_Object composition_gstring_put_cache (Lisp_Object, int);
307extern Lisp_Object composition_gstring_from_id P_ ((int)); 307extern Lisp_Object composition_gstring_from_id (int);
308extern int composition_gstring_p P_ ((Lisp_Object)); 308extern int composition_gstring_p (Lisp_Object);
309extern int composition_gstring_width P_ ((Lisp_Object, int, int, 309extern int composition_gstring_width (Lisp_Object, int, int,
310 struct font_metrics *)); 310 struct font_metrics *);
311 311
312extern void composition_compute_stop_pos P_ ((struct composition_it *, 312extern void composition_compute_stop_pos (struct composition_it *,
313 EMACS_INT, EMACS_INT, EMACS_INT, 313 EMACS_INT, EMACS_INT, EMACS_INT,
314 Lisp_Object)); 314 Lisp_Object);
315extern int composition_reseat_it P_ ((struct composition_it *, 315extern int composition_reseat_it (struct composition_it *,
316 EMACS_INT, EMACS_INT, EMACS_INT, 316 EMACS_INT, EMACS_INT, EMACS_INT,
317 struct window *, struct face *, 317 struct window *, struct face *,
318 Lisp_Object)); 318 Lisp_Object);
319extern int composition_update_it P_ ((struct composition_it *, 319extern int composition_update_it (struct composition_it *,
320 EMACS_INT, EMACS_INT, Lisp_Object)); 320 EMACS_INT, EMACS_INT, Lisp_Object);
321 321
322extern int composition_adjust_point P_ ((EMACS_INT, EMACS_INT)); 322extern int composition_adjust_point (EMACS_INT, EMACS_INT);
323 323
324EXFUN (Fcompose_region_internal, 4); 324EXFUN (Fcompose_region_internal, 4);
325EXFUN (Fcompose_string_internal, 5); 325EXFUN (Fcompose_string_internal, 5);
diff --git a/src/dispextern.h b/src/dispextern.h
index f0d14c0e487..9bafb49dd91 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -642,7 +642,7 @@ struct glyph_matrix
642 This aborts if any pointer is found twice. */ 642 This aborts if any pointer is found twice. */
643 643
644#if GLYPH_DEBUG 644#if GLYPH_DEBUG
645void check_matrix_pointer_lossage P_ ((struct glyph_matrix *)); 645void check_matrix_pointer_lossage (struct glyph_matrix *);
646#define CHECK_MATRIX(MATRIX) check_matrix_pointer_lossage ((MATRIX)) 646#define CHECK_MATRIX(MATRIX) check_matrix_pointer_lossage ((MATRIX))
647#else 647#else
648#define CHECK_MATRIX(MATRIX) (void) 0 648#define CHECK_MATRIX(MATRIX) (void) 0
@@ -914,7 +914,7 @@ struct glyph_row
914 we don't try to access rows that are out of bounds. */ 914 we don't try to access rows that are out of bounds. */
915 915
916#if GLYPH_DEBUG 916#if GLYPH_DEBUG
917struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int)); 917struct glyph_row *matrix_row (struct glyph_matrix *, int);
918#define MATRIX_ROW(MATRIX, ROW) matrix_row ((MATRIX), (ROW)) 918#define MATRIX_ROW(MATRIX, ROW) matrix_row ((MATRIX), (ROW))
919#else 919#else
920#define MATRIX_ROW(MATRIX, ROW) ((MATRIX)->rows + (ROW)) 920#define MATRIX_ROW(MATRIX, ROW) ((MATRIX)->rows + (ROW))
@@ -2478,7 +2478,7 @@ struct run
2478 2478
2479/* Handlers for setting frame parameters. */ 2479/* Handlers for setting frame parameters. */
2480 2480
2481typedef void (*frame_parm_handler) P_ ((struct frame *, Lisp_Object, Lisp_Object)); 2481typedef void (*frame_parm_handler) (struct frame *, Lisp_Object, Lisp_Object);
2482 2482
2483 2483
2484/* Structure holding system-dependent interface functions needed 2484/* Structure holding system-dependent interface functions needed
@@ -2491,110 +2491,110 @@ struct redisplay_interface
2491 2491
2492 /* Produce glyphs/get display metrics for the display element IT is 2492 /* Produce glyphs/get display metrics for the display element IT is
2493 loaded with. */ 2493 loaded with. */
2494 void (*produce_glyphs) P_ ((struct it *it)); 2494 void (*produce_glyphs) (struct it *it);
2495 2495
2496 /* Write or insert LEN glyphs from STRING at the nominal output 2496 /* Write or insert LEN glyphs from STRING at the nominal output
2497 position. */ 2497 position. */
2498 void (*write_glyphs) P_ ((struct glyph *string, int len)); 2498 void (*write_glyphs) (struct glyph *string, int len);
2499 void (*insert_glyphs) P_ ((struct glyph *start, int len)); 2499 void (*insert_glyphs) (struct glyph *start, int len);
2500 2500
2501 /* Clear from nominal output position to X. X < 0 means clear 2501 /* Clear from nominal output position to X. X < 0 means clear
2502 to right end of display. */ 2502 to right end of display. */
2503 void (*clear_end_of_line) P_ ((int x)); 2503 void (*clear_end_of_line) (int x);
2504 2504
2505 /* Function to call to scroll the display as described by RUN on 2505 /* Function to call to scroll the display as described by RUN on
2506 window W. */ 2506 window W. */
2507 void (*scroll_run_hook) P_ ((struct window *w, struct run *run)); 2507 void (*scroll_run_hook) (struct window *w, struct run *run);
2508 2508
2509 /* Function to call after a line in a display has been completely 2509 /* Function to call after a line in a display has been completely
2510 updated. Used to draw truncation marks and alike. DESIRED_ROW 2510 updated. Used to draw truncation marks and alike. DESIRED_ROW
2511 is the desired row which has been updated. */ 2511 is the desired row which has been updated. */
2512 void (*after_update_window_line_hook) P_ ((struct glyph_row *desired_row)); 2512 void (*after_update_window_line_hook) (struct glyph_row *desired_row);
2513 2513
2514 /* Function to call before beginning to update window W in 2514 /* Function to call before beginning to update window W in
2515 window-based redisplay. */ 2515 window-based redisplay. */
2516 void (*update_window_begin_hook) P_ ((struct window *w)); 2516 void (*update_window_begin_hook) (struct window *w);
2517 2517
2518 /* Function to call after window W has been updated in window-based 2518 /* Function to call after window W has been updated in window-based
2519 redisplay. CURSOR_ON_P non-zero means switch cursor on. 2519 redisplay. CURSOR_ON_P non-zero means switch cursor on.
2520 MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W 2520 MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W
2521 that contained glyphs in mouse-face were overwritten, so we 2521 that contained glyphs in mouse-face were overwritten, so we
2522 have to update the mouse highlight. */ 2522 have to update the mouse highlight. */
2523 void (*update_window_end_hook) P_ ((struct window *w, int cursor_on_p, 2523 void (*update_window_end_hook) (struct window *w, int cursor_on_p,
2524 int mouse_face_overwritten_p)); 2524 int mouse_face_overwritten_p);
2525 2525
2526 /* Move cursor to row/column position VPOS/HPOS, pixel coordinates 2526 /* Move cursor to row/column position VPOS/HPOS, pixel coordinates
2527 Y/X. HPOS/VPOS are window-relative row and column numbers and X/Y 2527 Y/X. HPOS/VPOS are window-relative row and column numbers and X/Y
2528 are window-relative pixel positions. */ 2528 are window-relative pixel positions. */
2529 void (*cursor_to) P_ ((int vpos, int hpos, int y, int x)); 2529 void (*cursor_to) (int vpos, int hpos, int y, int x);
2530 2530
2531 /* Flush the display of frame F. For X, this is XFlush. */ 2531 /* Flush the display of frame F. For X, this is XFlush. */
2532 void (*flush_display) P_ ((struct frame *f)); 2532 void (*flush_display) (struct frame *f);
2533 2533
2534 /* Flush the display of frame F if non-NULL. This is called 2534 /* Flush the display of frame F if non-NULL. This is called
2535 during redisplay, and should be NULL on systems which flushes 2535 during redisplay, and should be NULL on systems which flushes
2536 automatically before reading input. */ 2536 automatically before reading input. */
2537 void (*flush_display_optional) P_ ((struct frame *f)); 2537 void (*flush_display_optional) (struct frame *f);
2538 2538
2539 /* Clear the mouse hightlight in window W, if there is any. */ 2539 /* Clear the mouse hightlight in window W, if there is any. */
2540 void (*clear_window_mouse_face) P_ ((struct window *w)); 2540 void (*clear_window_mouse_face) (struct window *w);
2541 2541
2542 /* Set *LEFT and *RIGHT to the left and right overhang of GLYPH on 2542 /* Set *LEFT and *RIGHT to the left and right overhang of GLYPH on
2543 frame F. */ 2543 frame F. */
2544 void (*get_glyph_overhangs) P_ ((struct glyph *glyph, struct frame *f, 2544 void (*get_glyph_overhangs) (struct glyph *glyph, struct frame *f,
2545 int *left, int *right)); 2545 int *left, int *right);
2546 2546
2547 /* Fix the display of AREA of ROW in window W for overlapping rows. 2547 /* Fix the display of AREA of ROW in window W for overlapping rows.
2548 This function is called from redraw_overlapping_rows after 2548 This function is called from redraw_overlapping_rows after
2549 desired rows have been made current. */ 2549 desired rows have been made current. */
2550 void (*fix_overlapping_area) P_ ((struct window *w, struct glyph_row *row, 2550 void (*fix_overlapping_area) (struct window *w, struct glyph_row *row,
2551 enum glyph_row_area area, int)); 2551 enum glyph_row_area area, int);
2552 2552
2553#ifdef HAVE_WINDOW_SYSTEM 2553#ifdef HAVE_WINDOW_SYSTEM
2554 2554
2555 /* Draw a fringe bitmap in window W of row ROW using parameters P. */ 2555 /* Draw a fringe bitmap in window W of row ROW using parameters P. */
2556 void (*draw_fringe_bitmap) P_ ((struct window *w, struct glyph_row *row, 2556 void (*draw_fringe_bitmap) (struct window *w, struct glyph_row *row,
2557 struct draw_fringe_bitmap_params *p)); 2557 struct draw_fringe_bitmap_params *p);
2558 2558
2559 /* Define and destroy fringe bitmap no. WHICH. */ 2559 /* Define and destroy fringe bitmap no. WHICH. */
2560 void (*define_fringe_bitmap) P_ ((int which, unsigned short *bits, 2560 void (*define_fringe_bitmap) (int which, unsigned short *bits,
2561 int h, int wd)); 2561 int h, int wd);
2562 void (*destroy_fringe_bitmap) P_ ((int which)); 2562 void (*destroy_fringe_bitmap) (int which);
2563 2563
2564/* Compute left and right overhang of glyph string S. 2564/* Compute left and right overhang of glyph string S.
2565 A NULL pointer if platform does not support this. */ 2565 A NULL pointer if platform does not support this. */
2566 void (*compute_glyph_string_overhangs) P_ ((struct glyph_string *s)); 2566 void (*compute_glyph_string_overhangs) (struct glyph_string *s);
2567 2567
2568/* Draw a glyph string S. */ 2568/* Draw a glyph string S. */
2569 void (*draw_glyph_string) P_ ((struct glyph_string *s)); 2569 void (*draw_glyph_string) (struct glyph_string *s);
2570 2570
2571/* Define cursor CURSOR on frame F. */ 2571/* Define cursor CURSOR on frame F. */
2572 void (*define_frame_cursor) P_ ((struct frame *f, Cursor cursor)); 2572 void (*define_frame_cursor) (struct frame *f, Cursor cursor);
2573 2573
2574/* Clear the area at (X,Y,WIDTH,HEIGHT) of frame F. */ 2574/* Clear the area at (X,Y,WIDTH,HEIGHT) of frame F. */
2575 void (*clear_frame_area) P_ ((struct frame *f, int x, int y, 2575 void (*clear_frame_area) (struct frame *f, int x, int y,
2576 int width, int height)); 2576 int width, int height);
2577 2577
2578/* Draw specified cursor CURSOR_TYPE of width CURSOR_WIDTH 2578/* Draw specified cursor CURSOR_TYPE of width CURSOR_WIDTH
2579 at row GLYPH_ROW on window W if ON_P is 1. If ON_P is 2579 at row GLYPH_ROW on window W if ON_P is 1. If ON_P is
2580 0, don't draw cursor. If ACTIVE_P is 1, system caret 2580 0, don't draw cursor. If ACTIVE_P is 1, system caret
2581 should track this cursor (when applicable). */ 2581 should track this cursor (when applicable). */
2582 void (*draw_window_cursor) P_ ((struct window *w, 2582 void (*draw_window_cursor) (struct window *w,
2583 struct glyph_row *glyph_row, 2583 struct glyph_row *glyph_row,
2584 int x, int y, 2584 int x, int y,
2585 int cursor_type, int cursor_width, 2585 int cursor_type, int cursor_width,
2586 int on_p, int active_p)); 2586 int on_p, int active_p);
2587 2587
2588/* Draw vertical border for window W from (X,Y0) to (X,Y1). */ 2588/* Draw vertical border for window W from (X,Y0) to (X,Y1). */
2589 void (*draw_vertical_window_border) P_ ((struct window *w, 2589 void (*draw_vertical_window_border) (struct window *w,
2590 int x, int y0, int y1)); 2590 int x, int y0, int y1);
2591 2591
2592/* Shift display of frame F to make room for inserted glyphs. 2592/* Shift display of frame F to make room for inserted glyphs.
2593 The area at pixel (X,Y) of width WIDTH and height HEIGHT is 2593 The area at pixel (X,Y) of width WIDTH and height HEIGHT is
2594 shifted right by SHIFT_BY pixels. */ 2594 shifted right by SHIFT_BY pixels. */
2595 void (*shift_glyphs_for_insert) P_ ((struct frame *f, 2595 void (*shift_glyphs_for_insert) (struct frame *f,
2596 int x, int y, int width, 2596 int x, int y, int width,
2597 int height, int shift_by)); 2597 int height, int shift_by);
2598 2598
2599#endif /* HAVE_WINDOW_SYSTEM */ 2599#endif /* HAVE_WINDOW_SYSTEM */
2600}; 2600};
@@ -2621,14 +2621,14 @@ struct image_type
2621 2621
2622 /* Check that SPEC is a valid image specification for the given 2622 /* Check that SPEC is a valid image specification for the given
2623 image type. Value is non-zero if SPEC is valid. */ 2623 image type. Value is non-zero if SPEC is valid. */
2624 int (* valid_p) P_ ((Lisp_Object spec)); 2624 int (* valid_p) (Lisp_Object spec);
2625 2625
2626 /* Load IMG which is used on frame F from information contained in 2626 /* Load IMG which is used on frame F from information contained in
2627 IMG->spec. Value is non-zero if successful. */ 2627 IMG->spec. Value is non-zero if successful. */
2628 int (* load) P_ ((struct frame *f, struct image *img)); 2628 int (* load) (struct frame *f, struct image *img);
2629 2629
2630 /* Free resources of image IMG which is used on frame F. */ 2630 /* Free resources of image IMG which is used on frame F. */
2631 void (* free) P_ ((struct frame *f, struct image *img)); 2631 void (* free) (struct frame *f, struct image *img);
2632 2632
2633 /* Next in list of all supported image types. */ 2633 /* Next in list of all supported image types. */
2634 struct image_type *next; 2634 struct image_type *next;
@@ -2885,65 +2885,65 @@ extern EMACS_INT tool_bar_button_relief;
2885 2885
2886/* Defined in bidi.c */ 2886/* Defined in bidi.c */
2887 2887
2888extern void bidi_init_it P_ ((EMACS_INT, EMACS_INT, struct bidi_it *)); 2888extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *);
2889extern void bidi_move_to_visually_next P_ ((struct bidi_it *)); 2889extern void bidi_move_to_visually_next (struct bidi_it *);
2890extern void bidi_paragraph_init P_ ((bidi_dir_t, struct bidi_it *)); 2890extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *);
2891extern int bidi_mirror_char P_ ((int)); 2891extern int bidi_mirror_char (int);
2892 2892
2893/* Defined in xdisp.c */ 2893/* Defined in xdisp.c */
2894 2894
2895struct glyph_row *row_containing_pos P_ ((struct window *, int, 2895struct glyph_row *row_containing_pos (struct window *, int,
2896 struct glyph_row *, 2896 struct glyph_row *,
2897 struct glyph_row *, int)); 2897 struct glyph_row *, int);
2898EMACS_INT string_buffer_position P_ ((struct window *, Lisp_Object, 2898EMACS_INT string_buffer_position (struct window *, Lisp_Object,
2899 EMACS_INT)); 2899 EMACS_INT);
2900int line_bottom_y P_ ((struct it *)); 2900int line_bottom_y (struct it *);
2901int display_prop_intangible_p P_ ((Lisp_Object)); 2901int display_prop_intangible_p (Lisp_Object);
2902void resize_echo_area_exactly P_ ((void)); 2902void resize_echo_area_exactly (void);
2903int resize_mini_window P_ ((struct window *, int)); 2903int resize_mini_window (struct window *, int);
2904int try_window P_ ((Lisp_Object, struct text_pos, int)); 2904int try_window (Lisp_Object, struct text_pos, int);
2905void window_box P_ ((struct window *, int, int *, int *, int *, int *)); 2905void window_box (struct window *, int, int *, int *, int *, int *);
2906int window_box_height P_ ((struct window *)); 2906int window_box_height (struct window *);
2907int window_text_bottom_y P_ ((struct window *)); 2907int window_text_bottom_y (struct window *);
2908int window_box_width P_ ((struct window *, int)); 2908int window_box_width (struct window *, int);
2909int window_box_left P_ ((struct window *, int)); 2909int window_box_left (struct window *, int);
2910int window_box_left_offset P_ ((struct window *, int)); 2910int window_box_left_offset (struct window *, int);
2911int window_box_right P_ ((struct window *, int)); 2911int window_box_right (struct window *, int);
2912int window_box_right_offset P_ ((struct window *, int)); 2912int window_box_right_offset (struct window *, int);
2913void window_box_edges P_ ((struct window *, int, int *, int *, int *, int *)); 2913void window_box_edges (struct window *, int, int *, int *, int *, int *);
2914int estimate_mode_line_height P_ ((struct frame *, enum face_id)); 2914int estimate_mode_line_height (struct frame *, enum face_id);
2915void pixel_to_glyph_coords P_ ((struct frame *, int, int, int *, int *, 2915void pixel_to_glyph_coords (struct frame *, int, int, int *, int *,
2916 NativeRectangle *, int)); 2916 NativeRectangle *, int);
2917int glyph_to_pixel_coords P_ ((struct window *, int, int, int *, int *)); 2917int glyph_to_pixel_coords (struct window *, int, int, int *, int *);
2918void remember_mouse_glyph P_ ((struct frame *, int, int, NativeRectangle *)); 2918void remember_mouse_glyph (struct frame *, int, int, NativeRectangle *);
2919 2919
2920void mark_window_display_accurate P_ ((Lisp_Object, int)); 2920void mark_window_display_accurate (Lisp_Object, int);
2921void redisplay_preserve_echo_area P_ ((int)); 2921void redisplay_preserve_echo_area (int);
2922int set_cursor_from_row P_ ((struct window *, struct glyph_row *, 2922int set_cursor_from_row (struct window *, struct glyph_row *,
2923 struct glyph_matrix *, int, int, int, int)); 2923 struct glyph_matrix *, int, int, int, int);
2924void init_iterator P_ ((struct it *, struct window *, EMACS_INT, 2924void init_iterator (struct it *, struct window *, EMACS_INT,
2925 EMACS_INT, struct glyph_row *, enum face_id)); 2925 EMACS_INT, struct glyph_row *, enum face_id);
2926void init_iterator_to_row_start P_ ((struct it *, struct window *, 2926void init_iterator_to_row_start (struct it *, struct window *,
2927 struct glyph_row *)); 2927 struct glyph_row *);
2928int get_next_display_element P_ ((struct it *)); 2928int get_next_display_element (struct it *);
2929void set_iterator_to_next P_ ((struct it *, int)); 2929void set_iterator_to_next (struct it *, int);
2930void start_display P_ ((struct it *, struct window *, struct text_pos)); 2930void start_display (struct it *, struct window *, struct text_pos);
2931void move_it_to P_ ((struct it *, int, int, int, int, int)); 2931void move_it_to (struct it *, int, int, int, int, int);
2932void move_it_vertically P_ ((struct it *, int)); 2932void move_it_vertically (struct it *, int);
2933void move_it_vertically_backward P_ ((struct it *, int)); 2933void move_it_vertically_backward (struct it *, int);
2934void move_it_by_lines P_ ((struct it *, int, int)); 2934void move_it_by_lines (struct it *, int, int);
2935void move_it_past_eol P_ ((struct it *)); 2935void move_it_past_eol (struct it *);
2936void move_it_in_display_line (struct it *it, 2936void move_it_in_display_line (struct it *it,
2937 EMACS_INT to_charpos, int to_x, 2937 EMACS_INT to_charpos, int to_x,
2938 enum move_operation_enum op); 2938 enum move_operation_enum op);
2939int in_display_vector_p P_ ((struct it *)); 2939int in_display_vector_p (struct it *);
2940int frame_mode_line_height P_ ((struct frame *)); 2940int frame_mode_line_height (struct frame *);
2941void highlight_trailing_whitespace P_ ((struct frame *, struct glyph_row *)); 2941void highlight_trailing_whitespace (struct frame *, struct glyph_row *);
2942extern Lisp_Object Qtool_bar; 2942extern Lisp_Object Qtool_bar;
2943extern Lisp_Object Vshow_trailing_whitespace; 2943extern Lisp_Object Vshow_trailing_whitespace;
2944extern int mode_line_in_non_selected_windows; 2944extern int mode_line_in_non_selected_windows;
2945extern int redisplaying_p; 2945extern int redisplaying_p;
2946extern void add_to_log P_ ((char *, Lisp_Object, Lisp_Object)); 2946extern void add_to_log (char *, Lisp_Object, Lisp_Object);
2947extern int help_echo_showing_p; 2947extern int help_echo_showing_p;
2948extern int current_mode_line_height, current_header_line_height; 2948extern int current_mode_line_height, current_header_line_height;
2949extern Lisp_Object help_echo_string, help_echo_window; 2949extern Lisp_Object help_echo_string, help_echo_window;
@@ -2955,67 +2955,67 @@ extern Lisp_Object Vmouse_autoselect_window;
2955extern int unibyte_display_via_language_environment; 2955extern int unibyte_display_via_language_environment;
2956extern EMACS_INT underline_minimum_offset; 2956extern EMACS_INT underline_minimum_offset;
2957 2957
2958extern void reseat_at_previous_visible_line_start P_ ((struct it *)); 2958extern void reseat_at_previous_visible_line_start (struct it *);
2959 2959
2960extern int calc_pixel_width_or_height P_ ((double *, struct it *, Lisp_Object, 2960extern int calc_pixel_width_or_height (double *, struct it *, Lisp_Object,
2961 struct font *, int, int *)); 2961 struct font *, int, int *);
2962 2962
2963#ifdef HAVE_WINDOW_SYSTEM 2963#ifdef HAVE_WINDOW_SYSTEM
2964 2964
2965#if GLYPH_DEBUG 2965#if GLYPH_DEBUG
2966extern void dump_glyph_string P_ ((struct glyph_string *)); 2966extern void dump_glyph_string (struct glyph_string *);
2967#endif 2967#endif
2968 2968
2969extern void x_get_glyph_overhangs P_ ((struct glyph *, struct frame *, 2969extern void x_get_glyph_overhangs (struct glyph *, struct frame *,
2970 int *, int *)); 2970 int *, int *);
2971extern void x_produce_glyphs P_ ((struct it *)); 2971extern void x_produce_glyphs (struct it *);
2972 2972
2973extern void x_write_glyphs P_ ((struct glyph *, int)); 2973extern void x_write_glyphs (struct glyph *, int);
2974extern void x_insert_glyphs P_ ((struct glyph *, int len)); 2974extern void x_insert_glyphs (struct glyph *, int len);
2975extern void x_clear_end_of_line P_ ((int)); 2975extern void x_clear_end_of_line (int);
2976 2976
2977extern int x_stretch_cursor_p; 2977extern int x_stretch_cursor_p;
2978extern struct cursor_pos output_cursor; 2978extern struct cursor_pos output_cursor;
2979 2979
2980extern void x_fix_overlapping_area P_ ((struct window *, struct glyph_row *, 2980extern void x_fix_overlapping_area (struct window *, struct glyph_row *,
2981 enum glyph_row_area, int)); 2981 enum glyph_row_area, int);
2982extern void draw_phys_cursor_glyph P_ ((struct window *, 2982extern void draw_phys_cursor_glyph (struct window *,
2983 struct glyph_row *, 2983 struct glyph_row *,
2984 enum draw_glyphs_face)); 2984 enum draw_glyphs_face);
2985extern void get_phys_cursor_geometry P_ ((struct window *, struct glyph_row *, 2985extern void get_phys_cursor_geometry (struct window *, struct glyph_row *,
2986 struct glyph *, int *, int *, int *)); 2986 struct glyph *, int *, int *, int *);
2987extern void erase_phys_cursor P_ ((struct window *)); 2987extern void erase_phys_cursor (struct window *);
2988extern void display_and_set_cursor P_ ((struct window *, 2988extern void display_and_set_cursor (struct window *,
2989 int, int, int, int, int)); 2989 int, int, int, int, int);
2990 2990
2991extern void set_output_cursor P_ ((struct cursor_pos *)); 2991extern void set_output_cursor (struct cursor_pos *);
2992extern void x_cursor_to P_ ((int, int, int, int)); 2992extern void x_cursor_to (int, int, int, int);
2993 2993
2994extern void x_update_cursor P_ ((struct frame *, int)); 2994extern void x_update_cursor (struct frame *, int);
2995extern void x_clear_cursor P_ ((struct window *)); 2995extern void x_clear_cursor (struct window *);
2996extern void x_draw_vertical_border P_ ((struct window *w)); 2996extern void x_draw_vertical_border (struct window *w);
2997 2997
2998extern void frame_to_window_pixel_xy P_ ((struct window *, int *, int *)); 2998extern void frame_to_window_pixel_xy (struct window *, int *, int *);
2999extern int get_glyph_string_clip_rects P_ ((struct glyph_string *, 2999extern int get_glyph_string_clip_rects (struct glyph_string *,
3000 NativeRectangle *, int)); 3000 NativeRectangle *, int);
3001extern void get_glyph_string_clip_rect P_ ((struct glyph_string *, 3001extern void get_glyph_string_clip_rect (struct glyph_string *,
3002 NativeRectangle *nr)); 3002 NativeRectangle *nr);
3003extern Lisp_Object find_hot_spot P_ ((Lisp_Object, int, int)); 3003extern Lisp_Object find_hot_spot (Lisp_Object, int, int);
3004extern void note_mouse_highlight P_ ((struct frame *, int, int)); 3004extern void note_mouse_highlight (struct frame *, int, int);
3005extern void x_clear_window_mouse_face P_ ((struct window *)); 3005extern void x_clear_window_mouse_face (struct window *);
3006extern void cancel_mouse_face P_ ((struct frame *)); 3006extern void cancel_mouse_face (struct frame *);
3007 3007
3008extern void handle_tool_bar_click P_ ((struct frame *, 3008extern void handle_tool_bar_click (struct frame *,
3009 int, int, int, unsigned int)); 3009 int, int, int, unsigned int);
3010 3010
3011/* msdos.c defines its own versions of these functions. */ 3011/* msdos.c defines its own versions of these functions. */
3012extern int clear_mouse_face P_ ((Display_Info *)); 3012extern int clear_mouse_face (Display_Info *);
3013extern void show_mouse_face P_ ((Display_Info *, enum draw_glyphs_face)); 3013extern void show_mouse_face (Display_Info *, enum draw_glyphs_face);
3014extern int cursor_in_mouse_face_p P_ ((struct window *w)); 3014extern int cursor_in_mouse_face_p (struct window *w);
3015 3015
3016extern void expose_frame P_ ((struct frame *, int, int, int, int)); 3016extern void expose_frame (struct frame *, int, int, int, int);
3017extern int x_intersect_rectangles P_ ((XRectangle *, XRectangle *, 3017extern int x_intersect_rectangles (XRectangle *, XRectangle *,
3018 XRectangle *)); 3018 XRectangle *);
3019#endif 3019#endif
3020 3020
3021/* Flags passed to try_window. */ 3021/* Flags passed to try_window. */
@@ -3025,107 +3025,107 @@ extern int x_intersect_rectangles P_ ((XRectangle *, XRectangle *,
3025/* Defined in fringe.c */ 3025/* Defined in fringe.c */
3026 3026
3027int lookup_fringe_bitmap (Lisp_Object); 3027int lookup_fringe_bitmap (Lisp_Object);
3028void draw_fringe_bitmap P_ ((struct window *, struct glyph_row *, int)); 3028void draw_fringe_bitmap (struct window *, struct glyph_row *, int);
3029void draw_row_fringe_bitmaps P_ ((struct window *, struct glyph_row *)); 3029void draw_row_fringe_bitmaps (struct window *, struct glyph_row *);
3030int draw_window_fringes P_ ((struct window *, int)); 3030int draw_window_fringes (struct window *, int);
3031int update_window_fringes P_ ((struct window *, int)); 3031int update_window_fringes (struct window *, int);
3032void compute_fringe_widths P_ ((struct frame *, int)); 3032void compute_fringe_widths (struct frame *, int);
3033 3033
3034#ifdef WINDOWSNT 3034#ifdef WINDOWSNT
3035void w32_init_fringe P_ ((struct redisplay_interface *)); 3035void w32_init_fringe (struct redisplay_interface *);
3036void w32_reset_fringes P_ ((void)); 3036void w32_reset_fringes (void);
3037#endif 3037#endif
3038/* Defined in image.c */ 3038/* Defined in image.c */
3039 3039
3040#ifdef HAVE_WINDOW_SYSTEM 3040#ifdef HAVE_WINDOW_SYSTEM
3041 3041
3042extern int x_bitmap_height P_ ((struct frame *, int)); 3042extern int x_bitmap_height (struct frame *, int);
3043extern int x_bitmap_width P_ ((struct frame *, int)); 3043extern int x_bitmap_width (struct frame *, int);
3044extern int x_bitmap_pixmap P_ ((struct frame *, int)); 3044extern int x_bitmap_pixmap (struct frame *, int);
3045extern void x_reference_bitmap P_ ((struct frame *, int)); 3045extern void x_reference_bitmap (struct frame *, int);
3046extern int x_create_bitmap_from_data P_ ((struct frame *, char *, 3046extern int x_create_bitmap_from_data (struct frame *, char *,
3047 unsigned int, unsigned int)); 3047 unsigned int, unsigned int);
3048extern int x_create_bitmap_from_file P_ ((struct frame *, Lisp_Object)); 3048extern int x_create_bitmap_from_file (struct frame *, Lisp_Object);
3049#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) 3049#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)
3050extern int x_create_bitmap_from_xpm_data P_ ((struct frame *f, char **bits)); 3050extern int x_create_bitmap_from_xpm_data (struct frame *f, char **bits);
3051#endif 3051#endif
3052#ifndef x_destroy_bitmap 3052#ifndef x_destroy_bitmap
3053extern void x_destroy_bitmap P_ ((struct frame *, int)); 3053extern void x_destroy_bitmap (struct frame *, int);
3054#endif 3054#endif
3055extern void x_destroy_all_bitmaps P_ ((Display_Info *)); 3055extern void x_destroy_all_bitmaps (Display_Info *);
3056extern int x_create_bitmap_mask P_ ((struct frame * , int)); 3056extern int x_create_bitmap_mask (struct frame * , int);
3057extern Lisp_Object x_find_image_file P_ ((Lisp_Object)); 3057extern Lisp_Object x_find_image_file (Lisp_Object);
3058 3058
3059void x_kill_gs_process P_ ((Pixmap, struct frame *)); 3059void x_kill_gs_process (Pixmap, struct frame *);
3060struct image_cache *make_image_cache P_ ((void)); 3060struct image_cache *make_image_cache (void);
3061void free_image_cache P_ ((struct frame *)); 3061void free_image_cache (struct frame *);
3062void clear_image_caches P_ ((Lisp_Object)); 3062void clear_image_caches (Lisp_Object);
3063void mark_image_cache P_ ((struct image_cache *)); 3063void mark_image_cache (struct image_cache *);
3064int valid_image_p P_ ((Lisp_Object)); 3064int valid_image_p (Lisp_Object);
3065void prepare_image_for_display P_ ((struct frame *, struct image *)); 3065void prepare_image_for_display (struct frame *, struct image *);
3066int lookup_image P_ ((struct frame *, Lisp_Object)); 3066int lookup_image (struct frame *, Lisp_Object);
3067 3067
3068unsigned long image_background P_ ((struct image *, struct frame *, 3068unsigned long image_background (struct image *, struct frame *,
3069 XImagePtr_or_DC ximg)); 3069 XImagePtr_or_DC ximg);
3070int image_background_transparent P_ ((struct image *, struct frame *, 3070int image_background_transparent (struct image *, struct frame *,
3071 XImagePtr_or_DC mask)); 3071 XImagePtr_or_DC mask);
3072 3072
3073int image_ascent P_ ((struct image *, struct face *, struct glyph_slice *)); 3073int image_ascent (struct image *, struct face *, struct glyph_slice *);
3074 3074
3075#endif 3075#endif
3076 3076
3077/* Defined in sysdep.c */ 3077/* Defined in sysdep.c */
3078 3078
3079void get_tty_size P_ ((int, int *, int *)); 3079void get_tty_size (int, int *, int *);
3080void request_sigio P_ ((void)); 3080void request_sigio (void);
3081void unrequest_sigio P_ ((void)); 3081void unrequest_sigio (void);
3082int tabs_safe_p P_ ((int)); 3082int tabs_safe_p (int);
3083void init_baud_rate P_ ((int)); 3083void init_baud_rate (int);
3084void init_sigio P_ ((int)); 3084void init_sigio (int);
3085 3085
3086/* Defined in xfaces.c */ 3086/* Defined in xfaces.c */
3087 3087
3088#ifdef HAVE_X_WINDOWS 3088#ifdef HAVE_X_WINDOWS
3089void x_free_colors P_ ((struct frame *, unsigned long *, int)); 3089void x_free_colors (struct frame *, unsigned long *, int);
3090#endif 3090#endif
3091 3091
3092void update_face_from_frame_parameter P_ ((struct frame *, Lisp_Object, 3092void update_face_from_frame_parameter (struct frame *, Lisp_Object,
3093 Lisp_Object)); 3093 Lisp_Object);
3094Lisp_Object tty_color_name P_ ((struct frame *, int)); 3094Lisp_Object tty_color_name (struct frame *, int);
3095void clear_face_cache P_ ((int)); 3095void clear_face_cache (int);
3096unsigned long load_color P_ ((struct frame *, struct face *, Lisp_Object, 3096unsigned long load_color (struct frame *, struct face *, Lisp_Object,
3097 enum lface_attribute_index)); 3097 enum lface_attribute_index);
3098void unload_color P_ ((struct frame *, unsigned long)); 3098void unload_color (struct frame *, unsigned long);
3099char *choose_face_font P_ ((struct frame *, Lisp_Object *, Lisp_Object, 3099char *choose_face_font (struct frame *, Lisp_Object *, Lisp_Object,
3100 int *)); 3100 int *);
3101int ascii_face_of_lisp_face P_ ((struct frame *, int)); 3101int ascii_face_of_lisp_face (struct frame *, int);
3102void prepare_face_for_display P_ ((struct frame *, struct face *)); 3102void prepare_face_for_display (struct frame *, struct face *);
3103int xstrcasecmp P_ ((const unsigned char *, const unsigned char *)); 3103int xstrcasecmp (const unsigned char *, const unsigned char *);
3104int lookup_face P_ ((struct frame *, Lisp_Object *)); 3104int lookup_face (struct frame *, Lisp_Object *);
3105int lookup_named_face P_ ((struct frame *, Lisp_Object, int)); 3105int lookup_named_face (struct frame *, Lisp_Object, int);
3106int lookup_basic_face P_ ((struct frame *, int)); 3106int lookup_basic_face (struct frame *, int);
3107int smaller_face P_ ((struct frame *, int, int)); 3107int smaller_face (struct frame *, int, int);
3108int face_with_height P_ ((struct frame *, int, int)); 3108int face_with_height (struct frame *, int, int);
3109int lookup_derived_face P_ ((struct frame *, Lisp_Object, int, int)); 3109int lookup_derived_face (struct frame *, Lisp_Object, int, int);
3110void init_frame_faces P_ ((struct frame *)); 3110void init_frame_faces (struct frame *);
3111void free_frame_faces P_ ((struct frame *)); 3111void free_frame_faces (struct frame *);
3112void recompute_basic_faces P_ ((struct frame *)); 3112void recompute_basic_faces (struct frame *);
3113int face_at_buffer_position P_ ((struct window *w, EMACS_INT pos, 3113int face_at_buffer_position (struct window *w, EMACS_INT pos,
3114 EMACS_INT region_beg, EMACS_INT region_end, 3114 EMACS_INT region_beg, EMACS_INT region_end,
3115 EMACS_INT *endptr, EMACS_INT limit, 3115 EMACS_INT *endptr, EMACS_INT limit,
3116 int mouse, int base_face_id)); 3116 int mouse, int base_face_id);
3117int face_for_overlay_string P_ ((struct window *w, EMACS_INT pos, 3117int face_for_overlay_string (struct window *w, EMACS_INT pos,
3118 EMACS_INT region_beg, EMACS_INT region_end, 3118 EMACS_INT region_beg, EMACS_INT region_end,
3119 EMACS_INT *endptr, EMACS_INT limit, 3119 EMACS_INT *endptr, EMACS_INT limit,
3120 int mouse, Lisp_Object overlay)); 3120 int mouse, Lisp_Object overlay);
3121int face_at_string_position P_ ((struct window *w, Lisp_Object string, 3121int face_at_string_position (struct window *w, Lisp_Object string,
3122 EMACS_INT pos, EMACS_INT bufpos, 3122 EMACS_INT pos, EMACS_INT bufpos,
3123 EMACS_INT region_beg, EMACS_INT region_end, 3123 EMACS_INT region_beg, EMACS_INT region_end,
3124 EMACS_INT *endptr, enum face_id, int mouse)); 3124 EMACS_INT *endptr, enum face_id, int mouse);
3125int merge_faces P_ ((struct frame *, Lisp_Object, int, int)); 3125int merge_faces (struct frame *, Lisp_Object, int, int);
3126int compute_char_face P_ ((struct frame *, int, Lisp_Object)); 3126int compute_char_face (struct frame *, int, Lisp_Object);
3127void free_all_realized_faces P_ ((Lisp_Object)); 3127void free_all_realized_faces (Lisp_Object);
3128void free_realized_face P_ ((struct frame *, struct face *)); 3128void free_realized_face (struct frame *, struct face *);
3129extern Lisp_Object Qforeground_color, Qbackground_color; 3129extern Lisp_Object Qforeground_color, Qbackground_color;
3130extern Lisp_Object Qframe_set_background_mode; 3130extern Lisp_Object Qframe_set_background_mode;
3131extern char unspecified_fg[], unspecified_bg[]; 3131extern char unspecified_fg[], unspecified_bg[];
@@ -3135,24 +3135,24 @@ extern Lisp_Object Vface_remapping_alist;
3135/* Defined in xfns.c */ 3135/* Defined in xfns.c */
3136 3136
3137#ifdef HAVE_X_WINDOWS 3137#ifdef HAVE_X_WINDOWS
3138void gamma_correct P_ ((struct frame *, XColor *)); 3138void gamma_correct (struct frame *, XColor *);
3139#endif 3139#endif
3140#ifdef WINDOWSNT 3140#ifdef WINDOWSNT
3141void gamma_correct P_ ((struct frame *, COLORREF *)); 3141void gamma_correct (struct frame *, COLORREF *);
3142#endif 3142#endif
3143 3143
3144#ifdef HAVE_WINDOW_SYSTEM 3144#ifdef HAVE_WINDOW_SYSTEM
3145 3145
3146int x_screen_planes P_ ((struct frame *)); 3146int x_screen_planes (struct frame *);
3147void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); 3147void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object);
3148 3148
3149extern Lisp_Object tip_frame; 3149extern Lisp_Object tip_frame;
3150extern Window tip_window; 3150extern Window tip_window;
3151EXFUN (Fx_show_tip, 6); 3151EXFUN (Fx_show_tip, 6);
3152EXFUN (Fx_hide_tip, 0); 3152EXFUN (Fx_hide_tip, 0);
3153extern void start_hourglass P_ ((void)); 3153extern void start_hourglass (void);
3154extern void cancel_hourglass P_ ((void)); 3154extern void cancel_hourglass (void);
3155extern int hourglass_started P_ ((void)); 3155extern int hourglass_started (void);
3156extern int display_hourglass_p; 3156extern int display_hourglass_p;
3157extern int hourglass_shown_p; 3157extern int hourglass_shown_p;
3158struct atimer; /* Defined in atimer.h. */ 3158struct atimer; /* Defined in atimer.h. */
@@ -3161,8 +3161,8 @@ struct atimer; /* Defined in atimer.h. */
3161extern struct atimer *hourglass_atimer; 3161extern struct atimer *hourglass_atimer;
3162 3162
3163/* Each GUI implements these. FIXME: move into RIF. */ 3163/* Each GUI implements these. FIXME: move into RIF. */
3164extern void show_hourglass P_ ((struct atimer *)); 3164extern void show_hourglass (struct atimer *);
3165extern void hide_hourglass P_ ((void)); 3165extern void hide_hourglass (void);
3166 3166
3167/* Returns the background color of IMG, calculating one heuristically if 3167/* Returns the background color of IMG, calculating one heuristically if
3168 necessary. If non-zero, XIMG is an existing XImage object to use for 3168 necessary. If non-zero, XIMG is an existing XImage object to use for
@@ -3187,116 +3187,116 @@ extern void hide_hourglass P_ ((void));
3187 3187
3188/* Defined in xmenu.c */ 3188/* Defined in xmenu.c */
3189 3189
3190int popup_activated P_ ((void)); 3190int popup_activated (void);
3191 3191
3192/* Defined in dispnew.c */ 3192/* Defined in dispnew.c */
3193 3193
3194extern int inverse_video; 3194extern int inverse_video;
3195extern int required_matrix_width P_ ((struct window *)); 3195extern int required_matrix_width (struct window *);
3196extern int required_matrix_height P_ ((struct window *)); 3196extern int required_matrix_height (struct window *);
3197extern Lisp_Object buffer_posn_from_coords P_ ((struct window *, 3197extern Lisp_Object buffer_posn_from_coords (struct window *,
3198 int *, int *, 3198 int *, int *,
3199 struct display_pos *, 3199 struct display_pos *,
3200 Lisp_Object *, 3200 Lisp_Object *,
3201 int *, int *, int *, int *)); 3201 int *, int *, int *, int *);
3202extern Lisp_Object mode_line_string P_ ((struct window *, enum window_part, 3202extern Lisp_Object mode_line_string (struct window *, enum window_part,
3203 int *, int *, int *, 3203 int *, int *, int *,
3204 Lisp_Object *, 3204 Lisp_Object *,
3205 int *, int *, int *, int *)); 3205 int *, int *, int *, int *);
3206extern Lisp_Object marginal_area_string P_ ((struct window *, enum window_part, 3206extern Lisp_Object marginal_area_string (struct window *, enum window_part,
3207 int *, int *, int *, 3207 int *, int *, int *,
3208 Lisp_Object *, 3208 Lisp_Object *,
3209 int *, int *, int *, int *)); 3209 int *, int *, int *, int *);
3210extern void redraw_frame P_ ((struct frame *)); 3210extern void redraw_frame (struct frame *);
3211extern void redraw_garbaged_frames P_ ((void)); 3211extern void redraw_garbaged_frames (void);
3212extern void cancel_line P_ ((int, struct frame *)); 3212extern void cancel_line (int, struct frame *);
3213extern void init_desired_glyphs P_ ((struct frame *)); 3213extern void init_desired_glyphs (struct frame *);
3214extern int scroll_frame_lines P_ ((struct frame *, int, int, int, int)); 3214extern int scroll_frame_lines (struct frame *, int, int, int, int);
3215extern int update_frame P_ ((struct frame *, int, int)); 3215extern int update_frame (struct frame *, int, int);
3216extern int scrolling P_ ((struct frame *)); 3216extern int scrolling (struct frame *);
3217extern void bitch_at_user P_ ((void)); 3217extern void bitch_at_user (void);
3218void adjust_glyphs P_ ((struct frame *)); 3218void adjust_glyphs (struct frame *);
3219void free_glyphs P_ ((struct frame *)); 3219void free_glyphs (struct frame *);
3220void free_window_matrices P_ ((struct window *)); 3220void free_window_matrices (struct window *);
3221void check_glyph_memory P_ ((void)); 3221void check_glyph_memory (void);
3222void mirrored_line_dance P_ ((struct glyph_matrix *, int, int, int *, char *)); 3222void mirrored_line_dance (struct glyph_matrix *, int, int, int *, char *);
3223void clear_glyph_matrix P_ ((struct glyph_matrix *)); 3223void clear_glyph_matrix (struct glyph_matrix *);
3224void clear_current_matrices P_ ((struct frame *f)); 3224void clear_current_matrices (struct frame *f);
3225void clear_desired_matrices P_ ((struct frame *)); 3225void clear_desired_matrices (struct frame *);
3226void shift_glyph_matrix P_ ((struct window *, struct glyph_matrix *, 3226void shift_glyph_matrix (struct window *, struct glyph_matrix *,
3227 int, int, int)); 3227 int, int, int);
3228void rotate_matrix P_ ((struct glyph_matrix *, int, int, int)); 3228void rotate_matrix (struct glyph_matrix *, int, int, int);
3229void increment_matrix_positions P_ ((struct glyph_matrix *, 3229void increment_matrix_positions (struct glyph_matrix *,
3230 int, int, int, int)); 3230 int, int, int, int);
3231void blank_row P_ ((struct window *, struct glyph_row *, int)); 3231void blank_row (struct window *, struct glyph_row *, int);
3232void increment_row_positions P_ ((struct glyph_row *, int, int)); 3232void increment_row_positions (struct glyph_row *, int, int);
3233void enable_glyph_matrix_rows P_ ((struct glyph_matrix *, int, int, int)); 3233void enable_glyph_matrix_rows (struct glyph_matrix *, int, int, int);
3234void clear_glyph_row P_ ((struct glyph_row *)); 3234void clear_glyph_row (struct glyph_row *);
3235void prepare_desired_row P_ ((struct glyph_row *)); 3235void prepare_desired_row (struct glyph_row *);
3236int line_hash_code P_ ((struct glyph_row *)); 3236int line_hash_code (struct glyph_row *);
3237void set_window_update_flags P_ ((struct window *, int)); 3237void set_window_update_flags (struct window *, int);
3238void redraw_frame P_ ((struct frame *)); 3238void redraw_frame (struct frame *);
3239void redraw_garbaged_frames P_ ((void)); 3239void redraw_garbaged_frames (void);
3240int scroll_cost P_ ((struct frame *, int, int, int)); 3240int scroll_cost (struct frame *, int, int, int);
3241int update_frame P_ ((struct frame *, int, int)); 3241int update_frame (struct frame *, int, int);
3242void update_single_window P_ ((struct window *, int)); 3242void update_single_window (struct window *, int);
3243int scrolling P_ ((struct frame *)); 3243int scrolling (struct frame *);
3244void do_pending_window_change P_ ((int)); 3244void do_pending_window_change (int);
3245void change_frame_size P_ ((struct frame *, int, int, int, int, int)); 3245void change_frame_size (struct frame *, int, int, int, int, int);
3246void bitch_at_user P_ ((void)); 3246void bitch_at_user (void);
3247void init_display P_ ((void)); 3247void init_display (void);
3248void syms_of_display P_ ((void)); 3248void syms_of_display (void);
3249extern Lisp_Object Qredisplay_dont_pause; 3249extern Lisp_Object Qredisplay_dont_pause;
3250void spec_glyph_lookup_face P_ ((struct window *, GLYPH *)); 3250void spec_glyph_lookup_face (struct window *, GLYPH *);
3251 3251
3252/* Defined in terminal.c */ 3252/* Defined in terminal.c */
3253 3253
3254extern void ring_bell P_ ((struct frame *)); 3254extern void ring_bell (struct frame *);
3255extern void update_begin P_ ((struct frame *)); 3255extern void update_begin (struct frame *);
3256extern void update_end P_ ((struct frame *)); 3256extern void update_end (struct frame *);
3257extern void set_terminal_window P_ ((struct frame *, int)); 3257extern void set_terminal_window (struct frame *, int);
3258extern void cursor_to P_ ((struct frame *, int, int)); 3258extern void cursor_to (struct frame *, int, int);
3259extern void raw_cursor_to P_ ((struct frame *, int, int)); 3259extern void raw_cursor_to (struct frame *, int, int);
3260extern void clear_to_end P_ ((struct frame *)); 3260extern void clear_to_end (struct frame *);
3261extern void clear_frame P_ ((struct frame *)); 3261extern void clear_frame (struct frame *);
3262extern void clear_end_of_line P_ ((struct frame *, int)); 3262extern void clear_end_of_line (struct frame *, int);
3263extern void write_glyphs P_ ((struct frame *, struct glyph *, int)); 3263extern void write_glyphs (struct frame *, struct glyph *, int);
3264extern void insert_glyphs P_ ((struct frame *, struct glyph *, int)); 3264extern void insert_glyphs (struct frame *, struct glyph *, int);
3265extern void delete_glyphs P_ ((struct frame *, int)); 3265extern void delete_glyphs (struct frame *, int);
3266extern void ins_del_lines P_ ((struct frame *, int, int)); 3266extern void ins_del_lines (struct frame *, int, int);
3267 3267
3268extern struct terminal *init_initial_terminal P_ ((void)); 3268extern struct terminal *init_initial_terminal (void);
3269 3269
3270 3270
3271/* Defined in term.c */ 3271/* Defined in term.c */
3272 3272
3273extern void tty_set_terminal_modes P_ ((struct terminal *)); 3273extern void tty_set_terminal_modes (struct terminal *);
3274extern void tty_reset_terminal_modes P_ ((struct terminal *)); 3274extern void tty_reset_terminal_modes (struct terminal *);
3275extern void tty_turn_off_insert P_ ((struct tty_display_info *)); 3275extern void tty_turn_off_insert (struct tty_display_info *);
3276extern void tty_turn_off_highlight P_ ((struct tty_display_info *)); 3276extern void tty_turn_off_highlight (struct tty_display_info *);
3277extern int string_cost P_ ((char *)); 3277extern int string_cost (char *);
3278extern int per_line_cost P_ ((char *)); 3278extern int per_line_cost (char *);
3279extern void calculate_costs P_ ((struct frame *)); 3279extern void calculate_costs (struct frame *);
3280extern void produce_glyphs P_ ((struct it *)); 3280extern void produce_glyphs (struct it *);
3281extern void produce_special_glyphs P_ ((struct it *, enum display_element_type)); 3281extern void produce_special_glyphs (struct it *, enum display_element_type);
3282extern int tty_capable_p P_ ((struct tty_display_info *, unsigned, unsigned long, unsigned long)); 3282extern int tty_capable_p (struct tty_display_info *, unsigned, unsigned long, unsigned long);
3283extern void set_tty_color_mode (struct tty_display_info *, struct frame *); 3283extern void set_tty_color_mode (struct tty_display_info *, struct frame *);
3284extern struct terminal *get_tty_terminal P_ ((Lisp_Object, int)); 3284extern struct terminal *get_tty_terminal (Lisp_Object, int);
3285extern struct terminal *get_named_tty P_ ((char *)); 3285extern struct terminal *get_named_tty (char *);
3286EXFUN (Ftty_type, 1); 3286EXFUN (Ftty_type, 1);
3287extern void create_tty_output P_ ((struct frame *)); 3287extern void create_tty_output (struct frame *);
3288extern struct terminal *init_tty P_ ((char *, char *, int)); 3288extern struct terminal *init_tty (char *, char *, int);
3289 3289
3290 3290
3291/* Defined in scroll.c */ 3291/* Defined in scroll.c */
3292 3292
3293extern int scrolling_max_lines_saved P_ ((int, int, int *, int *, int *)); 3293extern int scrolling_max_lines_saved (int, int, int *, int *, int *);
3294extern int scroll_cost P_ ((struct frame *, int, int, int)); 3294extern int scroll_cost (struct frame *, int, int, int);
3295extern void do_line_insertion_deletion_costs P_ ((struct frame *, char *, 3295extern void do_line_insertion_deletion_costs (struct frame *, char *,
3296 char *, char *, char *, 3296 char *, char *, char *,
3297 char *, char *, int)); 3297 char *, char *, int);
3298void scrolling_1 P_ ((struct frame *, int, int, int, int *, int *, int *, 3298void scrolling_1 (struct frame *, int, int, int, int *, int *, int *,
3299 int *, int)); 3299 int *, int);
3300 3300
3301/* Defined in frame.c */ 3301/* Defined in frame.c */
3302 3302
@@ -3313,20 +3313,20 @@ enum resource_types
3313 RES_TYPE_BOOLEAN_NUMBER 3313 RES_TYPE_BOOLEAN_NUMBER
3314}; 3314};
3315 3315
3316extern Lisp_Object x_get_arg P_ ((Display_Info *, Lisp_Object, 3316extern Lisp_Object x_get_arg (Display_Info *, Lisp_Object,
3317 Lisp_Object, char *, char *class, 3317 Lisp_Object, char *, char *class,
3318 enum resource_types)); 3318 enum resource_types);
3319extern Lisp_Object x_frame_get_arg P_ ((struct frame *, Lisp_Object, 3319extern Lisp_Object x_frame_get_arg (struct frame *, Lisp_Object,
3320 Lisp_Object, char *, char *, 3320 Lisp_Object, char *, char *,
3321 enum resource_types)); 3321 enum resource_types);
3322extern Lisp_Object x_frame_get_and_record_arg P_ (( 3322extern Lisp_Object x_frame_get_and_record_arg (
3323 struct frame *, Lisp_Object, 3323 struct frame *, Lisp_Object,
3324 Lisp_Object, char *, char *, 3324 Lisp_Object, char *, char *,
3325 enum resource_types)); 3325 enum resource_types);
3326extern Lisp_Object x_default_parameter P_ ((struct frame *, Lisp_Object, 3326extern Lisp_Object x_default_parameter (struct frame *, Lisp_Object,
3327 Lisp_Object, Lisp_Object, 3327 Lisp_Object, Lisp_Object,
3328 char *, char *, 3328 char *, char *,
3329 enum resource_types)); 3329 enum resource_types);
3330 3330
3331#endif /* HAVE_WINDOW_SYSTEM */ 3331#endif /* HAVE_WINDOW_SYSTEM */
3332 3332
diff --git a/src/disptab.h b/src/disptab.h
index e0f603346df..1a7f63050b6 100644
--- a/src/disptab.h
+++ b/src/disptab.h
@@ -32,7 +32,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
32#define DISP_INVIS_VECTOR(dp) ((dp)->extras[4]) 32#define DISP_INVIS_VECTOR(dp) ((dp)->extras[4])
33#define DISP_BORDER_GLYPH(dp) ((dp)->extras[5]) 33#define DISP_BORDER_GLYPH(dp) ((dp)->extras[5])
34 34
35extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int)); 35extern Lisp_Object disp_char_vector (struct Lisp_Char_Table *, int);
36 36
37#define DISP_CHAR_VECTOR(dp, c) \ 37#define DISP_CHAR_VECTOR(dp, c) \
38 (ASCII_CHAR_P(c) \ 38 (ASCII_CHAR_P(c) \
@@ -44,10 +44,10 @@ extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int));
44 : disp_char_vector ((dp), (c))) 44 : disp_char_vector ((dp), (c)))
45 45
46/* Defined in window.c. */ 46/* Defined in window.c. */
47extern struct Lisp_Char_Table *window_display_table P_ ((struct window *)); 47extern struct Lisp_Char_Table *window_display_table (struct window *);
48 48
49/* Defined in indent.c. */ 49/* Defined in indent.c. */
50extern struct Lisp_Char_Table *buffer_display_table P_ ((void)); 50extern struct Lisp_Char_Table *buffer_display_table (void);
51 51
52/* Display table to use for vectors that don't specify their own. */ 52/* Display table to use for vectors that don't specify their own. */
53extern Lisp_Object Vstandard_display_table; 53extern Lisp_Object Vstandard_display_table;
diff --git a/src/font.h b/src/font.h
index 952ea269495..40d75117909 100644
--- a/src/font.h
+++ b/src/font.h
@@ -507,7 +507,7 @@ struct font_driver
507 507
508 /* Return a cache of font-entities on frame F. The cache must be a 508 /* Return a cache of font-entities on frame F. The cache must be a
509 cons whose cdr part is the actual cache area. */ 509 cons whose cdr part is the actual cache area. */
510 Lisp_Object (*get_cache) P_ ((FRAME_PTR F)); 510 Lisp_Object (*get_cache) (FRAME_PTR F);
511 511
512 /* List fonts exactly matching with FONT_SPEC on FRAME. The value 512 /* List fonts exactly matching with FONT_SPEC on FRAME. The value
513 is a list of font-entities. The font properties to be considered 513 is a list of font-entities. The font properties to be considered
@@ -530,7 +530,7 @@ struct font_driver
530 530
531 This and the following `match' are the only APIs that allocate 531 This and the following `match' are the only APIs that allocate
532 font-entities. */ 532 font-entities. */
533 Lisp_Object (*list) P_ ((Lisp_Object frame, Lisp_Object font_spec)); 533 Lisp_Object (*list) (Lisp_Object frame, Lisp_Object font_spec);
534 534
535 /* Return a font-entity most closely matching with FONT_SPEC on 535 /* Return a font-entity most closely matching with FONT_SPEC on
536 FRAME. Which font property to consider, and how to calculate the 536 FRAME. Which font property to consider, and how to calculate the
@@ -539,92 +539,92 @@ struct font_driver
539 539
540 The properties that the font-entity has is the same as `list' 540 The properties that the font-entity has is the same as `list'
541 method. */ 541 method. */
542 Lisp_Object (*match) P_ ((Lisp_Object frame, Lisp_Object font_spec)); 542 Lisp_Object (*match) (Lisp_Object frame, Lisp_Object font_spec);
543 543
544 /* Optional. 544 /* Optional.
545 List available families. The value is a list of family names 545 List available families. The value is a list of family names
546 (symbols). */ 546 (symbols). */
547 Lisp_Object (*list_family) P_ ((Lisp_Object frame)); 547 Lisp_Object (*list_family) (Lisp_Object frame);
548 548
549 /* Optional (if FONT_EXTRA_INDEX is not Lisp_Save_Value). 549 /* Optional (if FONT_EXTRA_INDEX is not Lisp_Save_Value).
550 Free FONT_EXTRA_INDEX field of FONT_ENTITY. */ 550 Free FONT_EXTRA_INDEX field of FONT_ENTITY. */
551 void (*free_entity) P_ ((Lisp_Object font_entity)); 551 void (*free_entity) (Lisp_Object font_entity);
552 552
553 /* Open a font specified by FONT_ENTITY on frame F. If the font is 553 /* Open a font specified by FONT_ENTITY on frame F. If the font is
554 scalable, open it with PIXEL_SIZE. */ 554 scalable, open it with PIXEL_SIZE. */
555 Lisp_Object (*open) P_ ((FRAME_PTR f, Lisp_Object font_entity, 555 Lisp_Object (*open) (FRAME_PTR f, Lisp_Object font_entity,
556 int pixel_size)); 556 int pixel_size);
557 557
558 /* Close FONT on frame F. */ 558 /* Close FONT on frame F. */
559 void (*close) P_ ((FRAME_PTR f, struct font *font)); 559 void (*close) (FRAME_PTR f, struct font *font);
560 560
561 /* Optional (if FACE->extra is not used). 561 /* Optional (if FACE->extra is not used).
562 Prepare FACE for displaying characters by FONT on frame F by 562 Prepare FACE for displaying characters by FONT on frame F by
563 storing some data in FACE->extra. If successful, return 0. 563 storing some data in FACE->extra. If successful, return 0.
564 Otherwise, return -1. */ 564 Otherwise, return -1. */
565 int (*prepare_face) P_ ((FRAME_PTR f, struct face *face)); 565 int (*prepare_face) (FRAME_PTR f, struct face *face);
566 566
567 /* Optional. 567 /* Optional.
568 Done FACE for displaying characters by FACE->font on frame F. */ 568 Done FACE for displaying characters by FACE->font on frame F. */
569 void (*done_face) P_ ((FRAME_PTR f, struct face *face)); 569 void (*done_face) (FRAME_PTR f, struct face *face);
570 570
571 /* Optional. 571 /* Optional.
572 If FONT (FONT-ENTITY or FONT-OBJECT) has a glyph for character C 572 If FONT (FONT-ENTITY or FONT-OBJECT) has a glyph for character C
573 (Unicode code point), return 1. If not, return 0. If FONT is 573 (Unicode code point), return 1. If not, return 0. If FONT is
574 FONT-ENTITY and it must be opened to check it, return -1. */ 574 FONT-ENTITY and it must be opened to check it, return -1. */
575 int (*has_char) P_ ((Lisp_Object font, int c)); 575 int (*has_char) (Lisp_Object font, int c);
576 576
577 /* Return a glyph code of FONT for characer C (Unicode code point). 577 /* Return a glyph code of FONT for characer C (Unicode code point).
578 If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ 578 If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */
579 unsigned (*encode_char) P_ ((struct font *font, int c)); 579 unsigned (*encode_char) (struct font *font, int c);
580 580
581 /* Computate the total metrics of the NGLYPHS glyphs specified by 581 /* Computate the total metrics of the NGLYPHS glyphs specified by
582 the font FONT and the sequence of glyph codes CODE, and store the 582 the font FONT and the sequence of glyph codes CODE, and store the
583 result in METRICS. */ 583 result in METRICS. */
584 int (*text_extents) P_ ((struct font *font, 584 int (*text_extents) (struct font *font,
585 unsigned *code, int nglyphs, 585 unsigned *code, int nglyphs,
586 struct font_metrics *metrics)); 586 struct font_metrics *metrics);
587 587
588 /* Optional. 588 /* Optional.
589 Draw glyphs between FROM and TO of S->char2b at (X Y) pixel 589 Draw glyphs between FROM and TO of S->char2b at (X Y) pixel
590 position of frame F with S->FACE and S->GC. If WITH_BACKGROUND 590 position of frame F with S->FACE and S->GC. If WITH_BACKGROUND
591 is nonzero, fill the background in advance. It is assured that 591 is nonzero, fill the background in advance. It is assured that
592 WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */ 592 WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */
593 int (*draw) P_ ((struct glyph_string *s, int from, int to, 593 int (*draw) (struct glyph_string *s, int from, int to,
594 int x, int y, int with_background)); 594 int x, int y, int with_background);
595 595
596 /* Optional. 596 /* Optional.
597 Store bitmap data for glyph-code CODE of FONT in BITMAP. It is 597 Store bitmap data for glyph-code CODE of FONT in BITMAP. It is
598 intended that this method is callled from the other font-driver 598 intended that this method is callled from the other font-driver
599 for actual drawing. */ 599 for actual drawing. */
600 int (*get_bitmap) P_ ((struct font *font, unsigned code, 600 int (*get_bitmap) (struct font *font, unsigned code,
601 struct font_bitmap *bitmap, 601 struct font_bitmap *bitmap,
602 int bits_per_pixel)); 602 int bits_per_pixel);
603 603
604 /* Optional. 604 /* Optional.
605 Free bitmap data in BITMAP. */ 605 Free bitmap data in BITMAP. */
606 void (*free_bitmap) P_ ((struct font *font, struct font_bitmap *bitmap)); 606 void (*free_bitmap) (struct font *font, struct font_bitmap *bitmap);
607 607
608 /* Optional. 608 /* Optional.
609 Return an outline data for glyph-code CODE of FONT. The format 609 Return an outline data for glyph-code CODE of FONT. The format
610 of the outline data depends on the font-driver. */ 610 of the outline data depends on the font-driver. */
611 void *(*get_outline) P_ ((struct font *font, unsigned code)); 611 void *(*get_outline) (struct font *font, unsigned code);
612 612
613 /* Optional. 613 /* Optional.
614 Free OUTLINE (that is obtained by the above method). */ 614 Free OUTLINE (that is obtained by the above method). */
615 void (*free_outline) P_ ((struct font *font, void *outline)); 615 void (*free_outline) (struct font *font, void *outline);
616 616
617 /* Optional. 617 /* Optional.
618 Get coordinates of the INDEXth anchor point of the glyph whose 618 Get coordinates of the INDEXth anchor point of the glyph whose
619 code is CODE. Store the coordinates in *X and *Y. Return 0 if 619 code is CODE. Store the coordinates in *X and *Y. Return 0 if
620 the operations was successfull. Otherwise return -1. */ 620 the operations was successfull. Otherwise return -1. */
621 int (*anchor_point) P_ ((struct font *font, unsigned code, int index, 621 int (*anchor_point) (struct font *font, unsigned code, int index,
622 int *x, int *y)); 622 int *x, int *y);
623 623
624 /* Optional. 624 /* Optional.
625 Return a list describing which scripts/languages FONT 625 Return a list describing which scripts/languages FONT
626 supports by which GSUB/GPOS features of OpenType tables. */ 626 supports by which GSUB/GPOS features of OpenType tables. */
627 Lisp_Object (*otf_capability) P_ ((struct font *font)); 627 Lisp_Object (*otf_capability) (struct font *font);
628 628
629 /* Optional. 629 /* Optional.
630 Apply FONT's OTF-FEATURES to the glyph string. 630 Apply FONT's OTF-FEATURES to the glyph string.
@@ -641,20 +641,20 @@ struct font_driver
641 Return the number of output codes. If none of the features are 641 Return the number of output codes. If none of the features are
642 applicable to the input data, return 0. If GSTRING-OUT is too 642 applicable to the input data, return 0. If GSTRING-OUT is too
643 short, return -1. */ 643 short, return -1. */
644 int (*otf_drive) P_ ((struct font *font, Lisp_Object features, 644 int (*otf_drive) (struct font *font, Lisp_Object features,
645 Lisp_Object gstring_in, int from, int to, 645 Lisp_Object gstring_in, int from, int to,
646 Lisp_Object gstring_out, int idx, int alternate_subst)); 646 Lisp_Object gstring_out, int idx, int alternate_subst);
647 647
648 /* Optional. 648 /* Optional.
649 Make the font driver ready for frame F. Usually this function 649 Make the font driver ready for frame F. Usually this function
650 makes some data specific to F and stores it in F by calling 650 makes some data specific to F and stores it in F by calling
651 font_put_frame_data (). */ 651 font_put_frame_data (). */
652 int (*start_for_frame) P_ ((FRAME_PTR f)); 652 int (*start_for_frame) (FRAME_PTR f);
653 653
654 /* Optional. 654 /* Optional.
655 End using the driver for frame F. Usually this function free 655 End using the driver for frame F. Usually this function free
656 some data stored for F. */ 656 some data stored for F. */
657 int (*end_for_frame) P_ ((FRAME_PTR f)); 657 int (*end_for_frame) (FRAME_PTR f);
658 658
659 /* Optional. 659 /* Optional.
660 660
@@ -670,14 +670,14 @@ struct font_driver
670 a new glyph object and storing it in GSTRING. If (M) is greater 670 a new glyph object and storing it in GSTRING. If (M) is greater
671 than the length of GSTRING, nil should be return. In that case, 671 than the length of GSTRING, nil should be return. In that case,
672 this function is called again with the larger GSTRING. */ 672 this function is called again with the larger GSTRING. */
673 Lisp_Object (*shape) P_ ((Lisp_Object lgstring)); 673 Lisp_Object (*shape) (Lisp_Object lgstring);
674 674
675 /* Optional. 675 /* Optional.
676 676
677 If FONT is usable on frame F, return 0. Otherwise return -1. 677 If FONT is usable on frame F, return 0. Otherwise return -1.
678 This method is used only for debugging. If this method is NULL, 678 This method is used only for debugging. If this method is NULL,
679 Emacs assumes that the font is usable on any frame. */ 679 Emacs assumes that the font is usable on any frame. */
680 int (*check) P_ ((FRAME_PTR F, struct font *font)); 680 int (*check) (FRAME_PTR F, struct font *font);
681 681
682 /* Optional. 682 /* Optional.
683 683
@@ -685,18 +685,18 @@ struct font_driver
685 FONT. VARIATIONS is an array of 256 elements. If the variation 685 FONT. VARIATIONS is an array of 256 elements. If the variation
686 selector N (1..256) defines a glyph, that glyph code is stored in 686 selector N (1..256) defines a glyph, that glyph code is stored in
687 the (N-1)th element of VARIATIONS. */ 687 the (N-1)th element of VARIATIONS. */
688 int (*get_variation_glyphs) P_ ((struct font *font, 688 int (*get_variation_glyphs) (struct font *font,
689 int c, unsigned variations[256])); 689 int c, unsigned variations[256]);
690 690
691 void (*filter_properties) P_ ((Lisp_Object font, Lisp_Object properties)); 691 void (*filter_properties) (Lisp_Object font, Lisp_Object properties);
692 692
693 /* Optional. 693 /* Optional.
694 694
695 Return non-zero if FONT_OBJECT can be used as a (cached) font 695 Return non-zero if FONT_OBJECT can be used as a (cached) font
696 for ENTITY on frame F. */ 696 for ENTITY on frame F. */
697 int (*cached_font_ok) P_ ((struct frame *f, 697 int (*cached_font_ok) (struct frame *f,
698 Lisp_Object font_object, 698 Lisp_Object font_object,
699 Lisp_Object entity)); 699 Lisp_Object entity);
700}; 700};
701 701
702 702
@@ -739,80 +739,80 @@ EXFUN (Ffont_family_list, 1);
739EXFUN (Fclear_font_cache, 0); 739EXFUN (Fclear_font_cache, 0);
740EXFUN (Ffont_xlfd_name, 2); 740EXFUN (Ffont_xlfd_name, 2);
741 741
742extern Lisp_Object font_make_spec P_ ((void)); 742extern Lisp_Object font_make_spec (void);
743extern Lisp_Object font_make_entity P_ ((void)); 743extern Lisp_Object font_make_entity (void);
744extern Lisp_Object font_make_object P_ ((int, Lisp_Object, int)); 744extern Lisp_Object font_make_object (int, Lisp_Object, int);
745 745
746extern Lisp_Object find_font_encoding P_ ((Lisp_Object)); 746extern Lisp_Object find_font_encoding (Lisp_Object);
747extern int font_registry_charsets P_ ((Lisp_Object, struct charset **, 747extern int font_registry_charsets (Lisp_Object, struct charset **,
748 struct charset **)); 748 struct charset **);
749extern int font_style_to_value P_ ((enum font_property_index prop, 749extern int font_style_to_value (enum font_property_index prop,
750 Lisp_Object name, int noerror)); 750 Lisp_Object name, int noerror);
751extern Lisp_Object font_style_symbolic P_ ((Lisp_Object font, 751extern Lisp_Object font_style_symbolic (Lisp_Object font,
752 enum font_property_index prop, 752 enum font_property_index prop,
753 int for_face)); 753 int for_face);
754 754
755extern int font_match_p P_ ((Lisp_Object spec, Lisp_Object font)); 755extern int font_match_p (Lisp_Object spec, Lisp_Object font);
756extern Lisp_Object font_list_entities P_ ((Lisp_Object frame, 756extern Lisp_Object font_list_entities (Lisp_Object frame,
757 Lisp_Object spec)); 757 Lisp_Object spec);
758 758
759extern Lisp_Object font_get_name P_ ((Lisp_Object font_object)); 759extern Lisp_Object font_get_name (Lisp_Object font_object);
760extern Lisp_Object font_spec_from_name P_ ((Lisp_Object font_name)); 760extern Lisp_Object font_spec_from_name (Lisp_Object font_name);
761extern Lisp_Object font_get_frame P_ ((Lisp_Object font_object)); 761extern Lisp_Object font_get_frame (Lisp_Object font_object);
762extern int font_has_char P_ ((FRAME_PTR, Lisp_Object, int)); 762extern int font_has_char (FRAME_PTR, Lisp_Object, int);
763extern unsigned font_encode_char P_ ((Lisp_Object, int)); 763extern unsigned font_encode_char (Lisp_Object, int);
764 764
765extern void font_clear_prop P_ ((Lisp_Object *attrs, 765extern void font_clear_prop (Lisp_Object *attrs,
766 enum font_property_index prop)); 766 enum font_property_index prop);
767extern void font_update_lface P_ ((FRAME_PTR f, Lisp_Object *attrs)); 767extern void font_update_lface (FRAME_PTR f, Lisp_Object *attrs);
768extern Lisp_Object font_find_for_lface P_ ((FRAME_PTR f, Lisp_Object *lface, 768extern Lisp_Object font_find_for_lface (FRAME_PTR f, Lisp_Object *lface,
769 Lisp_Object spec, int c)); 769 Lisp_Object spec, int c);
770extern Lisp_Object font_open_for_lface P_ ((FRAME_PTR f, Lisp_Object entity, 770extern Lisp_Object font_open_for_lface (FRAME_PTR f, Lisp_Object entity,
771 Lisp_Object *lface, 771 Lisp_Object *lface,
772 Lisp_Object spec)); 772 Lisp_Object spec);
773extern Lisp_Object font_load_for_lface P_ ((FRAME_PTR f, Lisp_Object *lface, 773extern Lisp_Object font_load_for_lface (FRAME_PTR f, Lisp_Object *lface,
774 Lisp_Object spec)); 774 Lisp_Object spec);
775extern void font_prepare_for_face P_ ((FRAME_PTR f, struct face *face)); 775extern void font_prepare_for_face (FRAME_PTR f, struct face *face);
776extern void font_done_for_face P_ ((FRAME_PTR f, struct face *face)); 776extern void font_done_for_face (FRAME_PTR f, struct face *face);
777 777
778extern Lisp_Object font_open_by_spec P_ ((FRAME_PTR f, Lisp_Object spec)); 778extern Lisp_Object font_open_by_spec (FRAME_PTR f, Lisp_Object spec);
779extern Lisp_Object font_open_by_name P_ ((FRAME_PTR f, char *name)); 779extern Lisp_Object font_open_by_name (FRAME_PTR f, char *name);
780extern void font_close_object (FRAME_PTR f, Lisp_Object font_object); 780extern void font_close_object (FRAME_PTR f, Lisp_Object font_object);
781 781
782extern Lisp_Object font_intern_prop P_ ((char *str, int len, int force_symbol)); 782extern Lisp_Object font_intern_prop (char *str, int len, int force_symbol);
783extern void font_update_sort_order P_ ((int *order)); 783extern void font_update_sort_order (int *order);
784 784
785extern void font_parse_family_registry P_ ((Lisp_Object family, 785extern void font_parse_family_registry (Lisp_Object family,
786 Lisp_Object registry, 786 Lisp_Object registry,
787 Lisp_Object spec)); 787 Lisp_Object spec);
788extern Lisp_Object font_spec_from_family_registry P_ ((Lisp_Object family, 788extern Lisp_Object font_spec_from_family_registry (Lisp_Object family,
789 Lisp_Object registry)); 789 Lisp_Object registry);
790 790
791extern int font_parse_xlfd P_ ((char *name, Lisp_Object font)); 791extern int font_parse_xlfd (char *name, Lisp_Object font);
792extern int font_unparse_xlfd P_ ((Lisp_Object font, int pixel_size, 792extern int font_unparse_xlfd (Lisp_Object font, int pixel_size,
793 char *name, int bytes)); 793 char *name, int bytes);
794extern int font_parse_fcname P_ ((char *name, Lisp_Object font)); 794extern int font_parse_fcname (char *name, Lisp_Object font);
795extern int font_unparse_fcname P_ ((Lisp_Object font, int pixel_size, 795extern int font_unparse_fcname (Lisp_Object font, int pixel_size,
796 char *name, int bytes)); 796 char *name, int bytes);
797extern int font_unparse_gtkname P_ ((Lisp_Object, struct frame *, char *, int)); 797extern int font_unparse_gtkname (Lisp_Object, struct frame *, char *, int);
798extern void register_font_driver P_ ((struct font_driver *driver, FRAME_PTR f)); 798extern void register_font_driver (struct font_driver *driver, FRAME_PTR f);
799extern void free_font_driver_list P_ ((FRAME_PTR f)); 799extern void free_font_driver_list (FRAME_PTR f);
800extern Lisp_Object font_update_drivers P_ ((FRAME_PTR f, Lisp_Object list)); 800extern Lisp_Object font_update_drivers (FRAME_PTR f, Lisp_Object list);
801extern Lisp_Object font_at P_ ((int c, EMACS_INT pos, struct face *face, 801extern Lisp_Object font_at (int c, EMACS_INT pos, struct face *face,
802 struct window *w, Lisp_Object object)); 802 struct window *w, Lisp_Object object);
803extern Lisp_Object font_range (EMACS_INT, EMACS_INT *, 803extern Lisp_Object font_range (EMACS_INT, EMACS_INT *,
804 struct window *, struct face *, 804 struct window *, struct face *,
805 Lisp_Object); 805 Lisp_Object);
806extern void font_fill_lglyph_metrics P_ ((Lisp_Object, Lisp_Object)); 806extern void font_fill_lglyph_metrics (Lisp_Object, Lisp_Object);
807 807
808extern Lisp_Object font_put_extra P_ ((Lisp_Object font, Lisp_Object prop, 808extern Lisp_Object font_put_extra (Lisp_Object font, Lisp_Object prop,
809 Lisp_Object val)); 809 Lisp_Object val);
810 810
811extern int font_put_frame_data P_ ((FRAME_PTR f, 811extern int font_put_frame_data (FRAME_PTR f,
812 struct font_driver *driver, 812 struct font_driver *driver,
813 void *data)); 813 void *data);
814extern void *font_get_frame_data P_ ((FRAME_PTR f, 814extern void *font_get_frame_data (FRAME_PTR f,
815 struct font_driver *driver)); 815 struct font_driver *driver);
816 816
817#ifdef HAVE_FREETYPE 817#ifdef HAVE_FREETYPE
818extern struct font_driver ftfont_driver; 818extern struct font_driver ftfont_driver;
@@ -837,8 +837,8 @@ extern struct font_driver nsfont_driver;
837#endif 837#endif
838 838
839extern Lisp_Object Vfont_log; 839extern Lisp_Object Vfont_log;
840extern void font_add_log P_ ((char *, Lisp_Object, Lisp_Object)); 840extern void font_add_log (char *, Lisp_Object, Lisp_Object);
841extern void font_deferred_log P_ ((char *, Lisp_Object, Lisp_Object)); 841extern void font_deferred_log (char *, Lisp_Object, Lisp_Object);
842 842
843#define FONT_ADD_LOG(ACTION, ARG, RESULT) \ 843#define FONT_ADD_LOG(ACTION, ARG, RESULT) \
844 do { \ 844 do { \
diff --git a/src/fontset.h b/src/fontset.h
index 78bdfaaaca0..178170a04ce 100644
--- a/src/fontset.h
+++ b/src/fontset.h
@@ -28,22 +28,22 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#define EMACS_FONTSET_H 28#define EMACS_FONTSET_H
29 29
30/* Check if any window system is used now. */ 30/* Check if any window system is used now. */
31extern void (*check_window_system_func) P_ ((void)); 31extern void (*check_window_system_func) (void);
32 32
33struct face; 33struct face;
34 34
35extern void free_face_fontset P_ ((FRAME_PTR, struct face *)); 35extern void free_face_fontset (FRAME_PTR, struct face *);
36extern Lisp_Object fontset_font_pattern P_ ((FRAME_PTR, struct face *, int)); 36extern Lisp_Object fontset_font_pattern (FRAME_PTR, struct face *, int);
37extern int face_suitable_for_char_p P_ ((struct face *, int)); 37extern int face_suitable_for_char_p (struct face *, int);
38extern int face_for_char P_ ((FRAME_PTR, struct face *, int, 38extern int face_for_char (FRAME_PTR, struct face *, int,
39 int, Lisp_Object)); 39 int, Lisp_Object);
40extern Lisp_Object font_for_char P_ ((struct face *, int, int, Lisp_Object)); 40extern Lisp_Object font_for_char (struct face *, int, int, Lisp_Object);
41 41
42extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int, struct face *)); 42extern int make_fontset_for_ascii_face (FRAME_PTR, int, struct face *);
43extern int fontset_from_font P_ ((Lisp_Object)); 43extern int fontset_from_font (Lisp_Object);
44extern int fs_query_fontset P_ ((Lisp_Object, int)); 44extern int fs_query_fontset (Lisp_Object, int);
45EXFUN (Fquery_fontset, 2); 45EXFUN (Fquery_fontset, 2);
46extern Lisp_Object list_fontsets P_ ((struct frame *, Lisp_Object, int)); 46extern Lisp_Object list_fontsets (struct frame *, Lisp_Object, int);
47 47
48extern Lisp_Object Vuse_default_ascent; 48extern Lisp_Object Vuse_default_ascent;
49extern Lisp_Object Vignore_relative_composition; 49extern Lisp_Object Vignore_relative_composition;
@@ -52,12 +52,12 @@ extern Lisp_Object Vfontset_alias_alist;
52extern Lisp_Object Vvertical_centering_font_regexp; 52extern Lisp_Object Vvertical_centering_font_regexp;
53extern Lisp_Object Votf_script_alist; 53extern Lisp_Object Votf_script_alist;
54 54
55extern Lisp_Object fontset_name P_ ((int)); 55extern Lisp_Object fontset_name (int);
56extern Lisp_Object fontset_ascii P_ ((int)); 56extern Lisp_Object fontset_ascii (int);
57extern int fontset_height P_ ((int)); 57extern int fontset_height (int);
58 58
59struct font; 59struct font;
60extern int face_for_font P_ ((struct frame *, Lisp_Object, struct face *)); 60extern int face_for_font (struct frame *, Lisp_Object, struct face *);
61 61
62#endif /* EMACS_FONTSET_H */ 62#endif /* EMACS_FONTSET_H */
63 63
diff --git a/src/frame.h b/src/frame.h
index 887d47eff21..0abd878a31f 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -828,19 +828,19 @@ extern Lisp_Object Qnoelisp;
828 828
829extern struct frame *last_nonminibuf_frame; 829extern struct frame *last_nonminibuf_frame;
830 830
831extern struct frame *make_initial_frame P_ ((void)); 831extern struct frame *make_initial_frame (void);
832extern struct frame *make_terminal_frame P_ ((struct terminal *)); 832extern struct frame *make_terminal_frame (struct terminal *);
833extern struct frame *make_frame P_ ((int)); 833extern struct frame *make_frame (int);
834#ifdef HAVE_WINDOW_SYSTEM 834#ifdef HAVE_WINDOW_SYSTEM
835extern struct frame *make_minibuffer_frame P_ ((void)); 835extern struct frame *make_minibuffer_frame (void);
836extern struct frame *make_frame_without_minibuffer P_ ((Lisp_Object, 836extern struct frame *make_frame_without_minibuffer (Lisp_Object,
837 struct kboard *, 837 struct kboard *,
838 Lisp_Object)); 838 Lisp_Object);
839#endif /* HAVE_WINDOW_SYSTEM */ 839#endif /* HAVE_WINDOW_SYSTEM */
840extern int other_visible_frames P_ ((struct frame *)); 840extern int other_visible_frames (struct frame *);
841extern void frame_make_pointer_invisible P_ ((void)); 841extern void frame_make_pointer_invisible (void);
842extern void frame_make_pointer_visible P_ ((void)); 842extern void frame_make_pointer_visible (void);
843extern Lisp_Object delete_frame P_ ((Lisp_Object, Lisp_Object)); 843extern Lisp_Object delete_frame (Lisp_Object, Lisp_Object);
844 844
845extern Lisp_Object Vframe_list; 845extern Lisp_Object Vframe_list;
846extern Lisp_Object Vdefault_frame_alist; 846extern Lisp_Object Vdefault_frame_alist;
@@ -1081,11 +1081,11 @@ extern Lisp_Object Qdisplay;
1081 1081
1082/* These are in xterm.c, w32term.c, etc. */ 1082/* These are in xterm.c, w32term.c, etc. */
1083 1083
1084extern void x_set_scroll_bar_default_width P_ ((struct frame *)); 1084extern void x_set_scroll_bar_default_width (struct frame *);
1085extern void x_set_offset P_ ((struct frame *, int, int, int)); 1085extern void x_set_offset (struct frame *, int, int, int);
1086extern void x_wm_set_icon_position P_ ((struct frame *, int, int)); 1086extern void x_wm_set_icon_position (struct frame *, int, int);
1087 1087
1088extern Lisp_Object x_new_font P_ ((struct frame *, Lisp_Object, int)); 1088extern Lisp_Object x_new_font (struct frame *, Lisp_Object, int);
1089 1089
1090/* These are in frame.c */ 1090/* These are in frame.c */
1091 1091
@@ -1095,38 +1095,38 @@ extern Lisp_Object Vx_resource_class;
1095 1095
1096extern Lisp_Object Qface_set_after_frame_default; 1096extern Lisp_Object Qface_set_after_frame_default;
1097 1097
1098extern void x_fullscreen_adjust P_ ((struct frame *f, int *, int *, 1098extern void x_fullscreen_adjust (struct frame *f, int *, int *,
1099 int *, int *)); 1099 int *, int *);
1100 1100
1101extern void x_set_frame_parameters P_ ((struct frame *, Lisp_Object)); 1101extern void x_set_frame_parameters (struct frame *, Lisp_Object);
1102extern void x_report_frame_params P_ ((struct frame *, Lisp_Object *)); 1102extern void x_report_frame_params (struct frame *, Lisp_Object *);
1103 1103
1104extern void x_set_fullscreen P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1104extern void x_set_fullscreen (struct frame *, Lisp_Object, Lisp_Object);
1105extern void x_set_line_spacing P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1105extern void x_set_line_spacing (struct frame *, Lisp_Object, Lisp_Object);
1106extern void x_set_screen_gamma P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1106extern void x_set_screen_gamma (struct frame *, Lisp_Object, Lisp_Object);
1107extern void x_set_font P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1107extern void x_set_font (struct frame *, Lisp_Object, Lisp_Object);
1108extern void x_set_font_backend P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1108extern void x_set_font_backend (struct frame *, Lisp_Object, Lisp_Object);
1109extern void x_set_fringe_width P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1109extern void x_set_fringe_width (struct frame *, Lisp_Object, Lisp_Object);
1110extern void x_set_border_width P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1110extern void x_set_border_width (struct frame *, Lisp_Object, Lisp_Object);
1111extern void x_set_internal_border_width P_ ((struct frame *, Lisp_Object, 1111extern void x_set_internal_border_width (struct frame *, Lisp_Object,
1112 Lisp_Object)); 1112 Lisp_Object);
1113extern void x_set_visibility P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1113extern void x_set_visibility (struct frame *, Lisp_Object, Lisp_Object);
1114extern void x_set_autoraise P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1114extern void x_set_autoraise (struct frame *, Lisp_Object, Lisp_Object);
1115extern void x_set_autolower P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1115extern void x_set_autolower (struct frame *, Lisp_Object, Lisp_Object);
1116extern void x_set_unsplittable P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1116extern void x_set_unsplittable (struct frame *, Lisp_Object, Lisp_Object);
1117extern void x_set_vertical_scroll_bars P_ ((struct frame *, Lisp_Object, 1117extern void x_set_vertical_scroll_bars (struct frame *, Lisp_Object,
1118 Lisp_Object)); 1118 Lisp_Object);
1119extern void x_set_scroll_bar_width P_ ((struct frame *, Lisp_Object, 1119extern void x_set_scroll_bar_width (struct frame *, Lisp_Object,
1120 Lisp_Object)); 1120 Lisp_Object);
1121 1121
1122extern Lisp_Object x_icon_type P_ ((struct frame *)); 1122extern Lisp_Object x_icon_type (struct frame *);
1123 1123
1124extern int x_figure_window_size P_ ((struct frame *, Lisp_Object, int)); 1124extern int x_figure_window_size (struct frame *, Lisp_Object, int);
1125 1125
1126extern Lisp_Object Vframe_alpha_lower_limit; 1126extern Lisp_Object Vframe_alpha_lower_limit;
1127extern void x_set_alpha P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1127extern void x_set_alpha (struct frame *, Lisp_Object, Lisp_Object);
1128 1128
1129extern void validate_x_resource_name P_ ((void)); 1129extern void validate_x_resource_name (void);
1130 1130
1131extern Lisp_Object display_x_get_resource (Display_Info *, 1131extern Lisp_Object display_x_get_resource (Display_Info *,
1132 Lisp_Object attribute, 1132 Lisp_Object attribute,
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 5b9c1df25a2..fcd23b65132 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -122,89 +122,89 @@ typedef struct _widget_value
122extern int use_old_gtk_file_dialog; 122extern int use_old_gtk_file_dialog;
123#endif 123#endif
124 124
125extern widget_value *malloc_widget_value P_ ((void)); 125extern widget_value *malloc_widget_value (void);
126extern void free_widget_value P_ ((widget_value *)); 126extern void free_widget_value (widget_value *);
127 127
128extern int xg_uses_old_file_dialog P_ ((void)); 128extern int xg_uses_old_file_dialog (void);
129 129
130extern char *xg_get_file_name P_ ((FRAME_PTR f, 130extern char *xg_get_file_name (FRAME_PTR f,
131 char *prompt, 131 char *prompt,
132 char *default_filename, 132 char *default_filename,
133 int mustmatch_p, 133 int mustmatch_p,
134 int only_dir_p)); 134 int only_dir_p);
135 135
136extern char *xg_get_font_name P_ ((FRAME_PTR f, char *)); 136extern char *xg_get_font_name (FRAME_PTR f, char *);
137 137
138extern GtkWidget *xg_create_widget P_ ((char *type, 138extern GtkWidget *xg_create_widget (char *type,
139 char *name, 139 char *name,
140 FRAME_PTR f, 140 FRAME_PTR f,
141 widget_value *val, 141 widget_value *val,
142 GCallback select_cb, 142 GCallback select_cb,
143 GCallback deactivate_cb, 143 GCallback deactivate_cb,
144 GCallback hightlight_cb)); 144 GCallback hightlight_cb);
145 145
146extern void xg_modify_menubar_widgets P_ ((GtkWidget *menubar, 146extern void xg_modify_menubar_widgets (GtkWidget *menubar,
147 FRAME_PTR f, 147 FRAME_PTR f,
148 widget_value *val, 148 widget_value *val,
149 int deep_p, 149 int deep_p,
150 GCallback select_cb, 150 GCallback select_cb,
151 GCallback deactivate_cb, 151 GCallback deactivate_cb,
152 GCallback hightlight_cb)); 152 GCallback hightlight_cb);
153 153
154extern int xg_update_frame_menubar P_ ((FRAME_PTR f)); 154extern int xg_update_frame_menubar (FRAME_PTR f);
155 155
156extern int xg_have_tear_offs P_ ((void)); 156extern int xg_have_tear_offs (void);
157 157
158extern int xg_get_scroll_id_for_window P_ ((Display *dpy, Window wid)); 158extern int xg_get_scroll_id_for_window (Display *dpy, Window wid);
159 159
160extern void xg_create_scroll_bar P_ ((FRAME_PTR f, 160extern void xg_create_scroll_bar (FRAME_PTR f,
161 struct scroll_bar *bar, 161 struct scroll_bar *bar,
162 GCallback scroll_callback, 162 GCallback scroll_callback,
163 GCallback end_callback, 163 GCallback end_callback,
164 char *scroll_bar_name)); 164 char *scroll_bar_name);
165extern void xg_remove_scroll_bar P_ ((FRAME_PTR f, int scrollbar_id)); 165extern void xg_remove_scroll_bar (FRAME_PTR f, int scrollbar_id);
166 166
167extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, 167extern void xg_update_scrollbar_pos (FRAME_PTR f,
168 int scrollbar_id, 168 int scrollbar_id,
169 int top, 169 int top,
170 int left, 170 int left,
171 int width, 171 int width,
172 int height)); 172 int height);
173 173
174extern void xg_set_toolkit_scroll_bar_thumb P_ ((struct scroll_bar *bar, 174extern void xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar,
175 int portion, 175 int portion,
176 int position, 176 int position,
177 int whole)); 177 int whole);
178extern int xg_event_is_for_scrollbar P_ ((FRAME_PTR f, XEvent *event)); 178extern int xg_event_is_for_scrollbar (FRAME_PTR f, XEvent *event);
179 179
180extern void update_frame_tool_bar P_ ((FRAME_PTR f)); 180extern void update_frame_tool_bar (FRAME_PTR f);
181extern void free_frame_tool_bar P_ ((FRAME_PTR f)); 181extern void free_frame_tool_bar (FRAME_PTR f);
182 182
183extern void xg_frame_resized P_ ((FRAME_PTR f, 183extern void xg_frame_resized (FRAME_PTR f,
184 int pixelwidth, 184 int pixelwidth,
185 int pixelheight)); 185 int pixelheight);
186extern void xg_frame_set_char_size P_ ((FRAME_PTR f, int cols, int rows)); 186extern void xg_frame_set_char_size (FRAME_PTR f, int cols, int rows);
187extern GtkWidget * xg_win_to_widget P_ ((Display *dpy, Window wdesc)); 187extern GtkWidget * xg_win_to_widget (Display *dpy, Window wdesc);
188 188
189extern void xg_display_open P_ ((char *display_name, Display **dpy)); 189extern void xg_display_open (char *display_name, Display **dpy);
190extern void xg_display_close P_ ((Display *dpy)); 190extern void xg_display_close (Display *dpy);
191extern GdkCursor * xg_create_default_cursor P_ ((Display *dpy)); 191extern GdkCursor * xg_create_default_cursor (Display *dpy);
192 192
193extern int xg_create_frame_widgets P_ ((FRAME_PTR f)); 193extern int xg_create_frame_widgets (FRAME_PTR f);
194extern void x_wm_set_size_hint P_ ((FRAME_PTR f, 194extern void x_wm_set_size_hint (FRAME_PTR f,
195 long flags, 195 long flags,
196 int user_position)); 196 int user_position);
197extern void xg_set_background_color P_ ((FRAME_PTR f, unsigned long bg)); 197extern void xg_set_background_color (FRAME_PTR f, unsigned long bg);
198 198
199extern void xg_set_frame_icon P_ ((FRAME_PTR f, 199extern void xg_set_frame_icon (FRAME_PTR f,
200 Pixmap icon_pixmap, 200 Pixmap icon_pixmap,
201 Pixmap icon_mask)); 201 Pixmap icon_mask);
202 202
203/* Mark all callback data that are Lisp_object:s during GC. */ 203/* Mark all callback data that are Lisp_object:s during GC. */
204extern void xg_mark_data P_ ((void)); 204extern void xg_mark_data (void);
205 205
206/* Initialize GTK specific parts. */ 206/* Initialize GTK specific parts. */
207extern void xg_initialize P_ ((void)); 207extern void xg_initialize (void);
208 208
209/* Setting scrollbar values invokes the callback. Use this variable 209/* Setting scrollbar values invokes the callback. Use this variable
210 to indicate that the callback should do nothing. */ 210 to indicate that the callback should do nothing. */
diff --git a/src/indent.h b/src/indent.h
index 4d9dbf2d7ff..394d7216b4f 100644
--- a/src/indent.h
+++ b/src/indent.h
@@ -49,16 +49,16 @@ struct position
49 EMACS_INT tab_offset; 49 EMACS_INT tab_offset;
50 }; 50 };
51 51
52struct position *compute_motion P_ ((EMACS_INT from, EMACS_INT fromvpos, 52struct position *compute_motion (EMACS_INT from, EMACS_INT fromvpos,
53 EMACS_INT fromhpos, int did_motion, 53 EMACS_INT fromhpos, int did_motion,
54 EMACS_INT to, EMACS_INT tovpos, 54 EMACS_INT to, EMACS_INT tovpos,
55 EMACS_INT tohpos, 55 EMACS_INT tohpos,
56 EMACS_INT width, EMACS_INT hscroll, 56 EMACS_INT width, EMACS_INT hscroll,
57 EMACS_INT tab_offset, struct window *)); 57 EMACS_INT tab_offset, struct window *);
58struct position *vmotion P_ ((EMACS_INT from, EMACS_INT vtarget, 58struct position *vmotion (EMACS_INT from, EMACS_INT vtarget,
59 struct window *)); 59 struct window *);
60EMACS_INT skip_invisible P_ ((EMACS_INT pos, EMACS_INT *next_boundary_p, 60EMACS_INT skip_invisible (EMACS_INT pos, EMACS_INT *next_boundary_p,
61 EMACS_INT to, Lisp_Object window)); 61 EMACS_INT to, Lisp_Object window);
62 62
63/* Value of point when current_column was called */ 63/* Value of point when current_column was called */
64extern EMACS_INT last_known_column_point; 64extern EMACS_INT last_known_column_point;
@@ -68,12 +68,12 @@ extern EMACS_INT last_known_column_point;
68/* Return true if the display table DISPTAB specifies the same widths 68/* Return true if the display table DISPTAB specifies the same widths
69 for characters as WIDTHTAB. We use this to decide when to 69 for characters as WIDTHTAB. We use this to decide when to
70 invalidate the buffer's column_cache. */ 70 invalidate the buffer's column_cache. */
71int disptab_matches_widthtab P_ ((struct Lisp_Char_Table *disptab, 71int disptab_matches_widthtab (struct Lisp_Char_Table *disptab,
72 struct Lisp_Vector *widthtab)); 72 struct Lisp_Vector *widthtab);
73 73
74/* Recompute BUF's width table, using the display table DISPTAB. */ 74/* Recompute BUF's width table, using the display table DISPTAB. */
75void recompute_width_table P_ ((struct buffer *buf, 75void recompute_width_table (struct buffer *buf,
76 struct Lisp_Char_Table *disptab)); 76 struct Lisp_Char_Table *disptab);
77 77
78 78
79/* arch-tag: f9feb373-5bff-4f4f-9198-94805d00cfd7 79/* arch-tag: f9feb373-5bff-4f4f-9198-94805d00cfd7
diff --git a/src/intervals.h b/src/intervals.h
index 5d1132e11ba..cdb24418587 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -243,49 +243,49 @@ struct interval
243 243
244/* Declared in alloc.c */ 244/* Declared in alloc.c */
245 245
246extern INTERVAL make_interval P_ ((void)); 246extern INTERVAL make_interval (void);
247 247
248/* Declared in intervals.c */ 248/* Declared in intervals.c */
249 249
250extern INTERVAL create_root_interval P_ ((Lisp_Object)); 250extern INTERVAL create_root_interval (Lisp_Object);
251extern void copy_properties P_ ((INTERVAL, INTERVAL)); 251extern void copy_properties (INTERVAL, INTERVAL);
252extern int intervals_equal P_ ((INTERVAL, INTERVAL)); 252extern int intervals_equal (INTERVAL, INTERVAL);
253extern void traverse_intervals P_ ((INTERVAL, int, 253extern void traverse_intervals (INTERVAL, int,
254 void (*) (INTERVAL, Lisp_Object), 254 void (*) (INTERVAL, Lisp_Object),
255 Lisp_Object)); 255 Lisp_Object);
256extern void traverse_intervals_noorder P_ ((INTERVAL, 256extern void traverse_intervals_noorder (INTERVAL,
257 void (*) (INTERVAL, Lisp_Object), 257 void (*) (INTERVAL, Lisp_Object),
258 Lisp_Object)); 258 Lisp_Object);
259extern INTERVAL split_interval_right P_ ((INTERVAL, int)); 259extern INTERVAL split_interval_right (INTERVAL, int);
260extern INTERVAL split_interval_left P_ ((INTERVAL, int)); 260extern INTERVAL split_interval_left (INTERVAL, int);
261extern INTERVAL find_interval P_ ((INTERVAL, int)); 261extern INTERVAL find_interval (INTERVAL, int);
262extern INTERVAL next_interval P_ ((INTERVAL)); 262extern INTERVAL next_interval (INTERVAL);
263extern INTERVAL previous_interval P_ ((INTERVAL)); 263extern INTERVAL previous_interval (INTERVAL);
264extern INTERVAL merge_interval_left P_ ((INTERVAL)); 264extern INTERVAL merge_interval_left (INTERVAL);
265extern INTERVAL merge_interval_right P_ ((INTERVAL)); 265extern INTERVAL merge_interval_right (INTERVAL);
266extern void delete_interval P_ ((INTERVAL)); 266extern void delete_interval (INTERVAL);
267extern INLINE void offset_intervals P_ ((struct buffer *, int, int)); 267extern INLINE void offset_intervals (struct buffer *, int, int);
268extern void graft_intervals_into_buffer P_ ((INTERVAL, int, int, 268extern void graft_intervals_into_buffer (INTERVAL, int, int,
269 struct buffer *, int)); 269 struct buffer *, int);
270extern void verify_interval_modification P_ ((struct buffer *, int, int)); 270extern void verify_interval_modification (struct buffer *, int, int);
271extern INTERVAL balance_intervals P_ ((INTERVAL)); 271extern INTERVAL balance_intervals (INTERVAL);
272extern INLINE void copy_intervals_to_string P_ ((Lisp_Object, struct buffer *, 272extern INLINE void copy_intervals_to_string (Lisp_Object, struct buffer *,
273 int, int)); 273 int, int);
274extern INTERVAL copy_intervals P_ ((INTERVAL, int, int)); 274extern INTERVAL copy_intervals (INTERVAL, int, int);
275extern int compare_string_intervals P_ ((Lisp_Object, Lisp_Object)); 275extern int compare_string_intervals (Lisp_Object, Lisp_Object);
276extern Lisp_Object textget P_ ((Lisp_Object, Lisp_Object)); 276extern Lisp_Object textget (Lisp_Object, Lisp_Object);
277extern Lisp_Object lookup_char_property P_ ((Lisp_Object, Lisp_Object, int)); 277extern Lisp_Object lookup_char_property (Lisp_Object, Lisp_Object, int);
278extern void move_if_not_intangible P_ ((int)); 278extern void move_if_not_intangible (int);
279extern int get_property_and_range P_ ((int, Lisp_Object, Lisp_Object *, 279extern int get_property_and_range (int, Lisp_Object, Lisp_Object *,
280 EMACS_INT *, EMACS_INT *, Lisp_Object)); 280 EMACS_INT *, EMACS_INT *, Lisp_Object);
281extern Lisp_Object get_local_map P_ ((int, struct buffer *, Lisp_Object)); 281extern Lisp_Object get_local_map (int, struct buffer *, Lisp_Object);
282extern INTERVAL update_interval P_ ((INTERVAL, int)); 282extern INTERVAL update_interval (INTERVAL, int);
283extern void set_intervals_multibyte P_ ((int)); 283extern void set_intervals_multibyte (int);
284extern INTERVAL validate_interval_range P_ ((Lisp_Object, Lisp_Object *, 284extern INTERVAL validate_interval_range (Lisp_Object, Lisp_Object *,
285 Lisp_Object *, int)); 285 Lisp_Object *, int);
286 286
287/* Defined in xdisp.c */ 287/* Defined in xdisp.c */
288extern int invisible_p P_ ((Lisp_Object, Lisp_Object)); 288extern int invisible_p (Lisp_Object, Lisp_Object);
289 289
290/* Declared in textprop.c */ 290/* Declared in textprop.c */
291 291
@@ -323,27 +323,27 @@ EXFUN (Fremove_text_properties, 4);
323EXFUN (Ftext_property_any, 5); 323EXFUN (Ftext_property_any, 5);
324EXFUN (Ftext_property_not_all, 5); 324EXFUN (Ftext_property_not_all, 5);
325EXFUN (Fprevious_single_char_property_change, 4); 325EXFUN (Fprevious_single_char_property_change, 4);
326extern Lisp_Object copy_text_properties P_ ((Lisp_Object, Lisp_Object, 326extern Lisp_Object copy_text_properties (Lisp_Object, Lisp_Object,
327 Lisp_Object, Lisp_Object, 327 Lisp_Object, Lisp_Object,
328 Lisp_Object, Lisp_Object)); 328 Lisp_Object, Lisp_Object);
329extern Lisp_Object set_text_properties P_ ((Lisp_Object, Lisp_Object, 329extern Lisp_Object set_text_properties (Lisp_Object, Lisp_Object,
330 Lisp_Object, Lisp_Object, 330 Lisp_Object, Lisp_Object,
331 Lisp_Object)); 331 Lisp_Object);
332extern void set_text_properties_1 P_ ((Lisp_Object, Lisp_Object, 332extern void set_text_properties_1 (Lisp_Object, Lisp_Object,
333 Lisp_Object, Lisp_Object, INTERVAL)); 333 Lisp_Object, Lisp_Object, INTERVAL);
334 334
335Lisp_Object text_property_list P_ ((Lisp_Object, Lisp_Object, Lisp_Object, 335Lisp_Object text_property_list (Lisp_Object, Lisp_Object, Lisp_Object,
336 Lisp_Object)); 336 Lisp_Object);
337int add_text_properties_from_list P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 337int add_text_properties_from_list (Lisp_Object, Lisp_Object, Lisp_Object);
338Lisp_Object extend_property_ranges P_ ((Lisp_Object, Lisp_Object)); 338Lisp_Object extend_property_ranges (Lisp_Object, Lisp_Object);
339Lisp_Object get_char_property_and_overlay P_ ((Lisp_Object, Lisp_Object, 339Lisp_Object get_char_property_and_overlay (Lisp_Object, Lisp_Object,
340 Lisp_Object, Lisp_Object*)); 340 Lisp_Object, Lisp_Object*);
341extern int text_property_stickiness P_ ((Lisp_Object prop, Lisp_Object pos, 341extern int text_property_stickiness (Lisp_Object prop, Lisp_Object pos,
342 Lisp_Object buffer)); 342 Lisp_Object buffer);
343extern Lisp_Object get_pos_property P_ ((Lisp_Object pos, Lisp_Object prop, 343extern Lisp_Object get_pos_property (Lisp_Object pos, Lisp_Object prop,
344 Lisp_Object object)); 344 Lisp_Object object);
345 345
346extern void syms_of_textprop P_ ((void)); 346extern void syms_of_textprop (void);
347 347
348#include "composite.h" 348#include "composite.h"
349 349
diff --git a/src/keyboard.h b/src/keyboard.h
index 27fc0e5eb6a..98c735023d7 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -300,7 +300,7 @@ enum menu_item_idx
300 MENU_ITEMS_ITEM_LENGTH 300 MENU_ITEMS_ITEM_LENGTH
301}; 301};
302 302
303extern Lisp_Object unuse_menu_items P_ ((Lisp_Object dummy)); 303extern Lisp_Object unuse_menu_items (Lisp_Object dummy);
304 304
305/* This is how to deal with multibyte text if HAVE_MULTILINGUAL_MENU 305/* This is how to deal with multibyte text if HAVE_MULTILINGUAL_MENU
306 isn't defined. The use of HAVE_MULTILINGUAL_MENU could probably be 306 isn't defined. The use of HAVE_MULTILINGUAL_MENU could probably be
@@ -366,8 +366,8 @@ typedef struct _widget_value
366 struct _widget_value* next; 366 struct _widget_value* next;
367} widget_value; 367} widget_value;
368 368
369extern widget_value *xmalloc_widget_value P_ ((void)); 369extern widget_value *xmalloc_widget_value (void);
370extern widget_value *digest_single_submenu P_ ((int, int, int)); 370extern widget_value *digest_single_submenu (int, int, int);
371#endif /* HAVE_NS || HAVE_NTGUI */ 371#endif /* HAVE_NS || HAVE_NTGUI */
372 372
373 373
@@ -430,10 +430,10 @@ extern Lisp_Object Qmode_line, Qvertical_line, Qheader_line;
430/* Forward declaration for prototypes. */ 430/* Forward declaration for prototypes. */
431struct input_event; 431struct input_event;
432 432
433extern Lisp_Object parse_modifiers P_ ((Lisp_Object)); 433extern Lisp_Object parse_modifiers (Lisp_Object);
434extern Lisp_Object reorder_modifiers P_ ((Lisp_Object)); 434extern Lisp_Object reorder_modifiers (Lisp_Object);
435extern Lisp_Object read_char P_ ((int, int, Lisp_Object *, Lisp_Object, 435extern Lisp_Object read_char (int, int, Lisp_Object *, Lisp_Object,
436 int *, EMACS_TIME *)); 436 int *, EMACS_TIME *);
437extern int parse_solitary_modifier (Lisp_Object symbol); 437extern int parse_solitary_modifier (Lisp_Object symbol);
438 438
439 439
@@ -445,50 +445,50 @@ extern Lisp_Object Vkey_translation_map;
445 445
446extern int parse_menu_item (Lisp_Object, int); 446extern int parse_menu_item (Lisp_Object, int);
447 447
448extern void echo_now P_ ((void)); 448extern void echo_now (void);
449extern void init_kboard P_ ((KBOARD *)); 449extern void init_kboard (KBOARD *);
450extern void delete_kboard P_ ((KBOARD *)); 450extern void delete_kboard (KBOARD *);
451extern void not_single_kboard_state P_ ((KBOARD *)); 451extern void not_single_kboard_state (KBOARD *);
452extern void push_kboard P_ ((struct kboard *)); 452extern void push_kboard (struct kboard *);
453extern void push_frame_kboard P_ ((struct frame *)); 453extern void push_frame_kboard (struct frame *);
454extern void pop_kboard P_ ((void)); 454extern void pop_kboard (void);
455extern void temporarily_switch_to_single_kboard P_ ((struct frame *)); 455extern void temporarily_switch_to_single_kboard (struct frame *);
456extern void record_asynch_buffer_change P_ ((void)); 456extern void record_asynch_buffer_change (void);
457extern SIGTYPE input_poll_signal P_ ((int)); 457extern SIGTYPE input_poll_signal (int);
458extern void start_polling P_ ((void)); 458extern void start_polling (void);
459extern void stop_polling P_ ((void)); 459extern void stop_polling (void);
460extern void set_poll_suppress_count P_ ((int)); 460extern void set_poll_suppress_count (int);
461extern void gobble_input P_ ((int)); 461extern void gobble_input (int);
462extern int input_polling_used P_ ((void)); 462extern int input_polling_used (void);
463extern void clear_input_pending P_ ((void)); 463extern void clear_input_pending (void);
464extern int requeued_events_pending_p P_ ((void)); 464extern int requeued_events_pending_p (void);
465extern void bind_polling_period P_ ((int)); 465extern void bind_polling_period (int);
466extern void stuff_buffered_input P_ ((Lisp_Object)); 466extern void stuff_buffered_input (Lisp_Object);
467extern void clear_waiting_for_input P_ ((void)); 467extern void clear_waiting_for_input (void);
468extern void swallow_events P_ ((int)); 468extern void swallow_events (int);
469extern int help_char_p P_ ((Lisp_Object)); 469extern int help_char_p (Lisp_Object);
470extern void quit_throw_to_read_char P_ ((void)) NO_RETURN; 470extern void quit_throw_to_read_char (void) NO_RETURN;
471extern void cmd_error_internal P_ ((Lisp_Object, char *)); 471extern void cmd_error_internal (Lisp_Object, char *);
472extern int lucid_event_type_list_p P_ ((Lisp_Object)); 472extern int lucid_event_type_list_p (Lisp_Object);
473extern void kbd_buffer_store_event P_ ((struct input_event *)); 473extern void kbd_buffer_store_event (struct input_event *);
474extern void kbd_buffer_store_event_hold P_ ((struct input_event *, 474extern void kbd_buffer_store_event_hold (struct input_event *,
475 struct input_event *)); 475 struct input_event *);
476extern void kbd_buffer_unget_event P_ ((struct input_event *)); 476extern void kbd_buffer_unget_event (struct input_event *);
477#ifdef POLL_FOR_INPUT 477#ifdef POLL_FOR_INPUT
478extern void poll_for_input_1 P_ ((void)); 478extern void poll_for_input_1 (void);
479#endif 479#endif
480extern void show_help_echo P_ ((Lisp_Object, Lisp_Object, Lisp_Object, 480extern void show_help_echo (Lisp_Object, Lisp_Object, Lisp_Object,
481 Lisp_Object, int)); 481 Lisp_Object, int);
482extern void gen_help_event P_ ((Lisp_Object, Lisp_Object, Lisp_Object, 482extern void gen_help_event (Lisp_Object, Lisp_Object, Lisp_Object,
483 Lisp_Object, int)); 483 Lisp_Object, int);
484extern void kbd_buffer_store_help_event P_ ((Lisp_Object, Lisp_Object)); 484extern void kbd_buffer_store_help_event (Lisp_Object, Lisp_Object);
485extern Lisp_Object menu_item_eval_property P_ ((Lisp_Object)); 485extern Lisp_Object menu_item_eval_property (Lisp_Object);
486extern int kbd_buffer_events_waiting P_ ((int)); 486extern int kbd_buffer_events_waiting (int);
487extern void add_user_signal P_ ((int, const char *)); 487extern void add_user_signal (int, const char *);
488 488
489extern int tty_read_avail_input P_ ((struct terminal *, int, 489extern int tty_read_avail_input (struct terminal *, int,
490 struct input_event *)); 490 struct input_event *);
491extern EMACS_TIME timer_check P_ ((int)); 491extern EMACS_TIME timer_check (int);
492 492
493/* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 493/* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3
494 (do not change this comment) */ 494 (do not change this comment) */
diff --git a/src/keymap.h b/src/keymap.h
index ed9bf7f192c..024b03dd1c3 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -33,21 +33,21 @@ EXFUN (Fkey_description, 2);
33EXFUN (Fsingle_key_description, 2); 33EXFUN (Fsingle_key_description, 2);
34EXFUN (Fwhere_is_internal, 5); 34EXFUN (Fwhere_is_internal, 5);
35EXFUN (Fcurrent_active_maps, 2); 35EXFUN (Fcurrent_active_maps, 2);
36extern Lisp_Object access_keymap P_ ((Lisp_Object, Lisp_Object, int, int, int)); 36extern Lisp_Object access_keymap (Lisp_Object, Lisp_Object, int, int, int);
37extern Lisp_Object get_keyelt P_ ((Lisp_Object, int)); 37extern Lisp_Object get_keyelt (Lisp_Object, int);
38extern Lisp_Object get_keymap P_ ((Lisp_Object, int, int)); 38extern Lisp_Object get_keymap (Lisp_Object, int, int);
39EXFUN (Fset_keymap_parent, 2); 39EXFUN (Fset_keymap_parent, 2);
40extern void describe_map_tree P_ ((Lisp_Object, int, Lisp_Object, Lisp_Object, 40extern void describe_map_tree (Lisp_Object, int, Lisp_Object, Lisp_Object,
41 char *, int, int, int, int)); 41 char *, int, int, int, int);
42extern int current_minor_maps P_ ((Lisp_Object **, Lisp_Object **)); 42extern int current_minor_maps (Lisp_Object **, Lisp_Object **);
43extern void initial_define_key P_ ((Lisp_Object, int, char *)); 43extern void initial_define_key (Lisp_Object, int, char *);
44extern void initial_define_lispy_key P_ ((Lisp_Object, char *, char *)); 44extern void initial_define_lispy_key (Lisp_Object, char *, char *);
45extern void syms_of_keymap P_ ((void)); 45extern void syms_of_keymap (void);
46extern void keys_of_keymap P_ ((void)); 46extern void keys_of_keymap (void);
47 47
48typedef void (*map_keymap_function_t) 48typedef void (*map_keymap_function_t)
49 P_ ((Lisp_Object key, Lisp_Object val, Lisp_Object args, void* data)); 49 (Lisp_Object key, Lisp_Object val, Lisp_Object args, void* data);
50extern void map_keymap P_ ((Lisp_Object map, map_keymap_function_t fun, Lisp_Object largs, void* cargs, int autoload)); 50extern void map_keymap (Lisp_Object map, map_keymap_function_t fun, Lisp_Object largs, void* cargs, int autoload);
51extern void map_keymap_canonical (Lisp_Object map, 51extern void map_keymap_canonical (Lisp_Object map,
52 map_keymap_function_t fun, 52 map_keymap_function_t fun,
53 Lisp_Object args, void *data); 53 Lisp_Object args, void *data);
diff --git a/src/lisp.h b/src/lisp.h
index 0da668bb87f..f2867a53e64 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -54,7 +54,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
54 54
55/* Extra internal type checking? */ 55/* Extra internal type checking? */
56extern int suppress_checking; 56extern int suppress_checking;
57extern void die P_((const char *, const char *, int)) NO_RETURN; 57extern void die (const char *, const char *, int) NO_RETURN;
58 58
59#ifdef ENABLE_CHECKING 59#ifdef ENABLE_CHECKING
60 60
@@ -492,7 +492,7 @@ enum pvec_type
492#define make_number(N) \ 492#define make_number(N) \
493 (__extension__ ({ Lisp_Object _l; _l.s.val = (N); _l.s.type = Lisp_Int; _l; })) 493 (__extension__ ({ Lisp_Object _l; _l.s.val = (N); _l.s.type = Lisp_Int; _l; }))
494#else 494#else
495extern Lisp_Object make_number P_ ((EMACS_INT)); 495extern Lisp_Object make_number (EMACS_INT);
496#endif 496#endif
497 497
498#endif /* USE_LISP_UNION_TYPE */ 498#endif /* USE_LISP_UNION_TYPE */
@@ -746,7 +746,7 @@ struct Lisp_Cons
746#ifdef GC_CHECK_STRING_BYTES 746#ifdef GC_CHECK_STRING_BYTES
747 747
748struct Lisp_String; 748struct Lisp_String;
749extern int string_bytes P_ ((struct Lisp_String *)); 749extern int string_bytes (struct Lisp_String *);
750#define STRING_BYTES(S) string_bytes ((S)) 750#define STRING_BYTES(S) string_bytes ((S))
751 751
752#else /* not GC_CHECK_STRING_BYTES */ 752#else /* not GC_CHECK_STRING_BYTES */
@@ -1154,11 +1154,11 @@ struct Lisp_Hash_Table
1154 struct Lisp_Hash_Table *next_weak; 1154 struct Lisp_Hash_Table *next_weak;
1155 1155
1156 /* C function to compare two keys. */ 1156 /* C function to compare two keys. */
1157 int (* cmpfn) P_ ((struct Lisp_Hash_Table *, Lisp_Object, 1157 int (* cmpfn) (struct Lisp_Hash_Table *, Lisp_Object,
1158 unsigned, Lisp_Object, unsigned)); 1158 unsigned, Lisp_Object, unsigned);
1159 1159
1160 /* C function to compute hash code. */ 1160 /* C function to compute hash code. */
1161 unsigned (* hashfn) P_ ((struct Lisp_Hash_Table *, Lisp_Object)); 1161 unsigned (* hashfn) (struct Lisp_Hash_Table *, Lisp_Object);
1162}; 1162};
1163 1163
1164 1164
@@ -1801,7 +1801,7 @@ typedef struct {
1801 1801
1802/* defsubr (Sname); 1802/* defsubr (Sname);
1803 is how we define the symbol for function `name' at start-up time. */ 1803 is how we define the symbol for function `name' at start-up time. */
1804extern void defsubr P_ ((struct Lisp_Subr *)); 1804extern void defsubr (struct Lisp_Subr *);
1805 1805
1806#define MANY -2 1806#define MANY -2
1807#define UNEVALLED -1 1807#define UNEVALLED -1
@@ -1867,7 +1867,7 @@ extern void defvar_kboard (struct Lisp_Kboard_Objfwd *, const char *, int);
1867 WHERE being a buffer or frame means we saw a buffer-local or frame-local 1867 WHERE being a buffer or frame means we saw a buffer-local or frame-local
1868 value. Other values of WHERE mean an internal error. */ 1868 value. Other values of WHERE mean an internal error. */
1869 1869
1870typedef Lisp_Object (*specbinding_func) P_ ((Lisp_Object)); 1870typedef Lisp_Object (*specbinding_func) (Lisp_Object);
1871 1871
1872struct specbinding 1872struct specbinding
1873 { 1873 {
@@ -1967,7 +1967,7 @@ extern char *stack_bottom;
1967 and (in particular) cannot call arbitrary Lisp code. */ 1967 and (in particular) cannot call arbitrary Lisp code. */
1968 1968
1969#ifdef SYNC_INPUT 1969#ifdef SYNC_INPUT
1970extern void process_pending_signals P_ ((void)); 1970extern void process_pending_signals (void);
1971extern int pending_signals; 1971extern int pending_signals;
1972#define ELSE_PENDING_SIGNALS \ 1972#define ELSE_PENDING_SIGNALS \
1973 else if (pending_signals) \ 1973 else if (pending_signals) \
@@ -2240,7 +2240,7 @@ while (0)
2240 2240
2241/* Call staticpro (&var) to protect static variable `var'. */ 2241/* Call staticpro (&var) to protect static variable `var'. */
2242 2242
2243void staticpro P_ ((Lisp_Object *)); 2243void staticpro (Lisp_Object *);
2244 2244
2245/* Declare a Lisp-callable function. The MAXARGS parameter has the same 2245/* Declare a Lisp-callable function. The MAXARGS parameter has the same
2246 meaning as in the DEFUN macro, and is used to construct a prototype. */ 2246 meaning as in the DEFUN macro, and is used to construct a prototype. */
@@ -2283,7 +2283,7 @@ extern Lisp_Object Qinteger;
2283 2283
2284extern Lisp_Object Qfont_spec, Qfont_entity, Qfont_object; 2284extern Lisp_Object Qfont_spec, Qfont_entity, Qfont_object;
2285 2285
2286extern void circular_list_error P_ ((Lisp_Object)) NO_RETURN; 2286extern void circular_list_error (Lisp_Object) NO_RETURN;
2287EXFUN (Finteractive_form, 1); 2287EXFUN (Finteractive_form, 1);
2288EXFUN (Fbyteorder, 0); 2288EXFUN (Fbyteorder, 0);
2289 2289
@@ -2326,12 +2326,12 @@ EXFUN (Ffmakunbound, 1);
2326EXFUN (Fsymbol_function, 1); 2326EXFUN (Fsymbol_function, 1);
2327EXFUN (Fsymbol_plist, 1); 2327EXFUN (Fsymbol_plist, 1);
2328EXFUN (Fsymbol_name, 1); 2328EXFUN (Fsymbol_name, 1);
2329extern Lisp_Object indirect_function P_ ((Lisp_Object)); 2329extern Lisp_Object indirect_function (Lisp_Object);
2330EXFUN (Findirect_function, 2); 2330EXFUN (Findirect_function, 2);
2331EXFUN (Ffset, 2); 2331EXFUN (Ffset, 2);
2332EXFUN (Fsetplist, 2); 2332EXFUN (Fsetplist, 2);
2333EXFUN (Fsymbol_value, 1); 2333EXFUN (Fsymbol_value, 1);
2334extern Lisp_Object find_symbol_value P_ ((Lisp_Object)); 2334extern Lisp_Object find_symbol_value (Lisp_Object);
2335EXFUN (Fset, 2); 2335EXFUN (Fset, 2);
2336EXFUN (Fdefault_value, 1); 2336EXFUN (Fdefault_value, 1);
2337EXFUN (Fset_default, 2); 2337EXFUN (Fset_default, 2);
@@ -2371,25 +2371,25 @@ EXFUN (Fsub1, 1);
2371EXFUN (Fmake_variable_buffer_local, 1); 2371EXFUN (Fmake_variable_buffer_local, 1);
2372 2372
2373extern struct Lisp_Symbol *indirect_variable (struct Lisp_Symbol *); 2373extern struct Lisp_Symbol *indirect_variable (struct Lisp_Symbol *);
2374extern Lisp_Object long_to_cons P_ ((unsigned long)); 2374extern Lisp_Object long_to_cons (unsigned long);
2375extern unsigned long cons_to_long P_ ((Lisp_Object)); 2375extern unsigned long cons_to_long (Lisp_Object);
2376extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; 2376extern void args_out_of_range (Lisp_Object, Lisp_Object) NO_RETURN;
2377extern void args_out_of_range_3 P_ ((Lisp_Object, Lisp_Object, 2377extern void args_out_of_range_3 (Lisp_Object, Lisp_Object,
2378 Lisp_Object)) NO_RETURN; 2378 Lisp_Object) NO_RETURN;
2379extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; 2379extern Lisp_Object wrong_type_argument (Lisp_Object, Lisp_Object) NO_RETURN;
2380extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *); 2380extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *);
2381extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, int); 2381extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, int);
2382extern void syms_of_data P_ ((void)); 2382extern void syms_of_data (void);
2383extern void init_data P_ ((void)); 2383extern void init_data (void);
2384extern void swap_in_global_binding P_ ((struct Lisp_Symbol *)); 2384extern void swap_in_global_binding (struct Lisp_Symbol *);
2385 2385
2386/* Defined in cmds.c */ 2386/* Defined in cmds.c */
2387EXFUN (Fend_of_line, 1); 2387EXFUN (Fend_of_line, 1);
2388EXFUN (Fforward_char, 1); 2388EXFUN (Fforward_char, 1);
2389EXFUN (Fforward_line, 1); 2389EXFUN (Fforward_line, 1);
2390extern int internal_self_insert P_ ((int, int)); 2390extern int internal_self_insert (int, int);
2391extern void syms_of_cmds P_ ((void)); 2391extern void syms_of_cmds (void);
2392extern void keys_of_cmds P_ ((void)); 2392extern void keys_of_cmds (void);
2393 2393
2394/* Defined in coding.c */ 2394/* Defined in coding.c */
2395EXFUN (Fcoding_system_p, 1); 2395EXFUN (Fcoding_system_p, 1);
@@ -2403,34 +2403,34 @@ EXFUN (Ffind_operation_coding_system, MANY);
2403EXFUN (Fupdate_coding_systems_internal, 0); 2403EXFUN (Fupdate_coding_systems_internal, 0);
2404EXFUN (Fencode_coding_string, 4); 2404EXFUN (Fencode_coding_string, 4);
2405EXFUN (Fdecode_coding_string, 4); 2405EXFUN (Fdecode_coding_string, 4);
2406extern Lisp_Object detect_coding_system P_ ((const unsigned char *, EMACS_INT, 2406extern Lisp_Object detect_coding_system (const unsigned char *, EMACS_INT,
2407 EMACS_INT, int, int, Lisp_Object)); 2407 EMACS_INT, int, int, Lisp_Object);
2408extern void init_coding P_ ((void)); 2408extern void init_coding (void);
2409extern void init_coding_once P_ ((void)); 2409extern void init_coding_once (void);
2410extern void syms_of_coding P_ ((void)); 2410extern void syms_of_coding (void);
2411 2411
2412/* Defined in character.c */ 2412/* Defined in character.c */
2413extern void init_character_once P_ ((void)); 2413extern void init_character_once (void);
2414extern void syms_of_character P_ ((void)); 2414extern void syms_of_character (void);
2415EXFUN (Funibyte_char_to_multibyte, 1); 2415EXFUN (Funibyte_char_to_multibyte, 1);
2416 2416
2417/* Defined in charset.c */ 2417/* Defined in charset.c */
2418EXFUN (Fchar_bytes, 1); 2418EXFUN (Fchar_bytes, 1);
2419EXFUN (Fchar_width, 1); 2419EXFUN (Fchar_width, 1);
2420EXFUN (Fstring, MANY); 2420EXFUN (Fstring, MANY);
2421extern EMACS_INT chars_in_text P_ ((const unsigned char *, EMACS_INT)); 2421extern EMACS_INT chars_in_text (const unsigned char *, EMACS_INT);
2422extern EMACS_INT multibyte_chars_in_text P_ ((const unsigned char *, EMACS_INT)); 2422extern EMACS_INT multibyte_chars_in_text (const unsigned char *, EMACS_INT);
2423extern int multibyte_char_to_unibyte P_ ((int, Lisp_Object)); 2423extern int multibyte_char_to_unibyte (int, Lisp_Object);
2424extern int multibyte_char_to_unibyte_safe P_ ((int)); 2424extern int multibyte_char_to_unibyte_safe (int);
2425extern Lisp_Object Qcharset; 2425extern Lisp_Object Qcharset;
2426extern void init_charset P_ ((void)); 2426extern void init_charset (void);
2427extern void init_charset_once P_ ((void)); 2427extern void init_charset_once (void);
2428extern void syms_of_charset P_ ((void)); 2428extern void syms_of_charset (void);
2429/* Structure forward declarations. */ 2429/* Structure forward declarations. */
2430struct charset; 2430struct charset;
2431 2431
2432/* Defined in composite.c */ 2432/* Defined in composite.c */
2433extern void syms_of_composite P_ ((void)); 2433extern void syms_of_composite (void);
2434 2434
2435/* Defined in syntax.c */ 2435/* Defined in syntax.c */
2436EXFUN (Fforward_word, 1); 2436EXFUN (Fforward_word, 1);
@@ -2439,28 +2439,28 @@ EXFUN (Fskip_chars_backward, 2);
2439EXFUN (Fsyntax_table_p, 1); 2439EXFUN (Fsyntax_table_p, 1);
2440EXFUN (Fsyntax_table, 0); 2440EXFUN (Fsyntax_table, 0);
2441EXFUN (Fset_syntax_table, 1); 2441EXFUN (Fset_syntax_table, 1);
2442extern void init_syntax_once P_ ((void)); 2442extern void init_syntax_once (void);
2443extern void syms_of_syntax P_ ((void)); 2443extern void syms_of_syntax (void);
2444 2444
2445/* Defined in fns.c */ 2445/* Defined in fns.c */
2446extern int use_dialog_box; 2446extern int use_dialog_box;
2447extern int next_almost_prime P_ ((int)); 2447extern int next_almost_prime (int);
2448extern Lisp_Object larger_vector P_ ((Lisp_Object, int, Lisp_Object)); 2448extern Lisp_Object larger_vector (Lisp_Object, int, Lisp_Object);
2449extern void sweep_weak_hash_tables P_ ((void)); 2449extern void sweep_weak_hash_tables (void);
2450extern Lisp_Object Qstring_lessp; 2450extern Lisp_Object Qstring_lessp;
2451extern Lisp_Object Vfeatures; 2451extern Lisp_Object Vfeatures;
2452extern Lisp_Object QCtest, QCweakness, Qequal, Qeq; 2452extern Lisp_Object QCtest, QCweakness, Qequal, Qeq;
2453unsigned sxhash P_ ((Lisp_Object, int)); 2453unsigned sxhash (Lisp_Object, int);
2454Lisp_Object make_hash_table P_ ((Lisp_Object, Lisp_Object, Lisp_Object, 2454Lisp_Object make_hash_table (Lisp_Object, Lisp_Object, Lisp_Object,
2455 Lisp_Object, Lisp_Object, Lisp_Object, 2455 Lisp_Object, Lisp_Object, Lisp_Object,
2456 Lisp_Object)); 2456 Lisp_Object);
2457Lisp_Object copy_hash_table P_ ((struct Lisp_Hash_Table *)); 2457Lisp_Object copy_hash_table (struct Lisp_Hash_Table *);
2458int hash_lookup P_ ((struct Lisp_Hash_Table *, Lisp_Object, unsigned *)); 2458int hash_lookup (struct Lisp_Hash_Table *, Lisp_Object, unsigned *);
2459int hash_put P_ ((struct Lisp_Hash_Table *, Lisp_Object, Lisp_Object, 2459int hash_put (struct Lisp_Hash_Table *, Lisp_Object, Lisp_Object,
2460 unsigned)); 2460 unsigned);
2461void hash_clear P_ ((struct Lisp_Hash_Table *)); 2461void hash_clear (struct Lisp_Hash_Table *);
2462void init_weak_hash_tables P_ ((void)); 2462void init_weak_hash_tables (void);
2463extern void init_fns P_ ((void)); 2463extern void init_fns (void);
2464EXFUN (Fsxhash, 1); 2464EXFUN (Fsxhash, 1);
2465EXFUN (Fmake_hash_table, MANY); 2465EXFUN (Fmake_hash_table, MANY);
2466EXFUN (Fmakehash, 1); 2466EXFUN (Fmakehash, 1);
@@ -2494,7 +2494,7 @@ EXFUN (Fstring_as_unibyte, 1);
2494EXFUN (Fstring_to_multibyte, 1); 2494EXFUN (Fstring_to_multibyte, 1);
2495EXFUN (Fstring_to_unibyte, 1); 2495EXFUN (Fstring_to_unibyte, 1);
2496EXFUN (Fsubstring, 3); 2496EXFUN (Fsubstring, 3);
2497extern Lisp_Object substring_both P_ ((Lisp_Object, int, int, int, int)); 2497extern Lisp_Object substring_both (Lisp_Object, int, int, int, int);
2498EXFUN (Fnth, 2); 2498EXFUN (Fnth, 2);
2499EXFUN (Fnthcdr, 2); 2499EXFUN (Fnthcdr, 2);
2500EXFUN (Fmemq, 2); 2500EXFUN (Fmemq, 2);
@@ -2516,20 +2516,20 @@ EXFUN (Fnconc, MANY);
2516EXFUN (Fmapcar, 2); 2516EXFUN (Fmapcar, 2);
2517EXFUN (Fmapconcat, 3); 2517EXFUN (Fmapconcat, 3);
2518EXFUN (Fy_or_n_p, 1); 2518EXFUN (Fy_or_n_p, 1);
2519extern Lisp_Object do_yes_or_no_p P_ ((Lisp_Object)); 2519extern Lisp_Object do_yes_or_no_p (Lisp_Object);
2520EXFUN (Frequire, 3); 2520EXFUN (Frequire, 3);
2521EXFUN (Fprovide, 2); 2521EXFUN (Fprovide, 2);
2522extern Lisp_Object concat2 P_ ((Lisp_Object, Lisp_Object)); 2522extern Lisp_Object concat2 (Lisp_Object, Lisp_Object);
2523extern Lisp_Object concat3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 2523extern Lisp_Object concat3 (Lisp_Object, Lisp_Object, Lisp_Object);
2524extern Lisp_Object nconc2 P_ ((Lisp_Object, Lisp_Object)); 2524extern Lisp_Object nconc2 (Lisp_Object, Lisp_Object);
2525extern Lisp_Object assq_no_quit P_ ((Lisp_Object, Lisp_Object)); 2525extern Lisp_Object assq_no_quit (Lisp_Object, Lisp_Object);
2526extern Lisp_Object assoc_no_quit P_ ((Lisp_Object, Lisp_Object)); 2526extern Lisp_Object assoc_no_quit (Lisp_Object, Lisp_Object);
2527extern void clear_string_char_byte_cache P_ ((void)); 2527extern void clear_string_char_byte_cache (void);
2528extern EMACS_INT string_char_to_byte P_ ((Lisp_Object, EMACS_INT)); 2528extern EMACS_INT string_char_to_byte (Lisp_Object, EMACS_INT);
2529extern EMACS_INT string_byte_to_char P_ ((Lisp_Object, EMACS_INT)); 2529extern EMACS_INT string_byte_to_char (Lisp_Object, EMACS_INT);
2530extern Lisp_Object string_make_multibyte P_ ((Lisp_Object)); 2530extern Lisp_Object string_make_multibyte (Lisp_Object);
2531extern Lisp_Object string_to_multibyte P_ ((Lisp_Object)); 2531extern Lisp_Object string_to_multibyte (Lisp_Object);
2532extern Lisp_Object string_make_unibyte P_ ((Lisp_Object)); 2532extern Lisp_Object string_make_unibyte (Lisp_Object);
2533EXFUN (Fcopy_alist, 1); 2533EXFUN (Fcopy_alist, 1);
2534EXFUN (Fplist_get, 2); 2534EXFUN (Fplist_get, 2);
2535EXFUN (Fplist_put, 3); 2535EXFUN (Fplist_put, 3);
@@ -2538,24 +2538,24 @@ EXFUN (Frassoc, 2);
2538EXFUN (Fstring_equal, 2); 2538EXFUN (Fstring_equal, 2);
2539EXFUN (Fcompare_strings, 7); 2539EXFUN (Fcompare_strings, 7);
2540EXFUN (Fstring_lessp, 2); 2540EXFUN (Fstring_lessp, 2);
2541extern void syms_of_fns P_ ((void)); 2541extern void syms_of_fns (void);
2542 2542
2543/* Defined in floatfns.c */ 2543/* Defined in floatfns.c */
2544extern double extract_float P_ ((Lisp_Object)); 2544extern double extract_float (Lisp_Object);
2545EXFUN (Ffloat, 1); 2545EXFUN (Ffloat, 1);
2546EXFUN (Ftruncate, 2); 2546EXFUN (Ftruncate, 2);
2547extern void init_floatfns P_ ((void)); 2547extern void init_floatfns (void);
2548extern void syms_of_floatfns P_ ((void)); 2548extern void syms_of_floatfns (void);
2549 2549
2550/* Defined in fringe.c */ 2550/* Defined in fringe.c */
2551extern void syms_of_fringe P_ ((void)); 2551extern void syms_of_fringe (void);
2552extern void init_fringe P_ ((void)); 2552extern void init_fringe (void);
2553extern void init_fringe_once P_ ((void)); 2553extern void init_fringe_once (void);
2554 2554
2555/* Defined in image.c */ 2555/* Defined in image.c */
2556EXFUN (Finit_image_library, 2); 2556EXFUN (Finit_image_library, 2);
2557extern void syms_of_image P_ ((void)); 2557extern void syms_of_image (void);
2558extern void init_image P_ ((void)); 2558extern void init_image (void);
2559 2559
2560/* Defined in insdel.c */ 2560/* Defined in insdel.c */
2561extern Lisp_Object Qinhibit_modification_hooks; 2561extern Lisp_Object Qinhibit_modification_hooks;
@@ -2617,10 +2617,10 @@ EXFUN (Fredraw_frame, 1);
2617EXFUN (Fredraw_display, 0); 2617EXFUN (Fredraw_display, 0);
2618EXFUN (Fsleep_for, 2); 2618EXFUN (Fsleep_for, 2);
2619EXFUN (Fredisplay, 1); 2619EXFUN (Fredisplay, 1);
2620extern Lisp_Object sit_for P_ ((Lisp_Object, int, int)); 2620extern Lisp_Object sit_for (Lisp_Object, int, int);
2621extern void init_display P_ ((void)); 2621extern void init_display (void);
2622extern void syms_of_display P_ ((void)); 2622extern void syms_of_display (void);
2623extern void safe_bcopy P_ ((const char *, char *, int)); 2623extern void safe_bcopy (const char *, char *, int);
2624 2624
2625/* Defined in xdisp.c */ 2625/* Defined in xdisp.c */
2626extern Lisp_Object Qinhibit_point_motion_hooks; 2626extern Lisp_Object Qinhibit_point_motion_hooks;
@@ -2631,58 +2631,58 @@ extern Lisp_Object Qimage, Qtext, Qboth, Qboth_horiz;
2631extern Lisp_Object Vmessage_log_max; 2631extern Lisp_Object Vmessage_log_max;
2632extern int message_enable_multibyte; 2632extern int message_enable_multibyte;
2633extern Lisp_Object echo_area_buffer[2]; 2633extern Lisp_Object echo_area_buffer[2];
2634extern void check_message_stack P_ ((void)); 2634extern void check_message_stack (void);
2635extern void setup_echo_area_for_printing P_ ((int)); 2635extern void setup_echo_area_for_printing (int);
2636extern int push_message P_ ((void)); 2636extern int push_message (void);
2637extern Lisp_Object pop_message_unwind P_ ((Lisp_Object)); 2637extern Lisp_Object pop_message_unwind (Lisp_Object);
2638extern Lisp_Object restore_message_unwind P_ ((Lisp_Object)); 2638extern Lisp_Object restore_message_unwind (Lisp_Object);
2639extern void pop_message P_ ((void)); 2639extern void pop_message (void);
2640extern void restore_message P_ ((void)); 2640extern void restore_message (void);
2641extern Lisp_Object current_message P_ ((void)); 2641extern Lisp_Object current_message (void);
2642extern void set_message P_ ((const char *s, Lisp_Object, int, int)); 2642extern void set_message (const char *s, Lisp_Object, int, int);
2643extern void clear_message P_ ((int, int)); 2643extern void clear_message (int, int);
2644extern void message P_ ((/* char *, ... */)); 2644extern void message (/* char *, ... */);
2645extern void message_nolog P_ ((/* char *, ... */)); 2645extern void message_nolog (/* char *, ... */);
2646extern void message1 P_ ((char *)); 2646extern void message1 (char *);
2647extern void message1_nolog P_ ((char *)); 2647extern void message1_nolog (char *);
2648extern void message2 P_ ((const char *, int, int)); 2648extern void message2 (const char *, int, int);
2649extern void message2_nolog P_ ((const char *, int, int)); 2649extern void message2_nolog (const char *, int, int);
2650extern void message3 P_ ((Lisp_Object, int, int)); 2650extern void message3 (Lisp_Object, int, int);
2651extern void message3_nolog P_ ((Lisp_Object, int, int)); 2651extern void message3_nolog (Lisp_Object, int, int);
2652extern void message_dolog P_ ((const char *, int, int, int)); 2652extern void message_dolog (const char *, int, int, int);
2653extern void message_with_string P_ ((char *, Lisp_Object, int)); 2653extern void message_with_string (char *, Lisp_Object, int);
2654extern void message_log_maybe_newline P_ ((void)); 2654extern void message_log_maybe_newline (void);
2655extern void update_echo_area P_ ((void)); 2655extern void update_echo_area (void);
2656extern void truncate_echo_area P_ ((int)); 2656extern void truncate_echo_area (int);
2657extern void redisplay P_ ((void)); 2657extern void redisplay (void);
2658extern int check_point_in_composition 2658extern int check_point_in_composition
2659 P_ ((struct buffer *, int, struct buffer *, int)); 2659 (struct buffer *, int, struct buffer *, int);
2660extern void redisplay_preserve_echo_area P_ ((int)); 2660extern void redisplay_preserve_echo_area (int);
2661extern void prepare_menu_bars P_ ((void)); 2661extern void prepare_menu_bars (void);
2662 2662
2663void set_frame_cursor_types P_ ((struct frame *, Lisp_Object)); 2663void set_frame_cursor_types (struct frame *, Lisp_Object);
2664extern void syms_of_xdisp P_ ((void)); 2664extern void syms_of_xdisp (void);
2665extern void init_xdisp P_ ((void)); 2665extern void init_xdisp (void);
2666extern Lisp_Object safe_eval P_ ((Lisp_Object)); 2666extern Lisp_Object safe_eval (Lisp_Object);
2667extern int pos_visible_p P_ ((struct window *, int, int *, 2667extern int pos_visible_p (struct window *, int, int *,
2668 int *, int *, int *, int *, int *)); 2668 int *, int *, int *, int *, int *);
2669 2669
2670/* Defined in xsettings.c */ 2670/* Defined in xsettings.c */
2671extern void syms_of_xsettings P_ ((void)); 2671extern void syms_of_xsettings (void);
2672 2672
2673/* Defined in vm-limit.c. */ 2673/* Defined in vm-limit.c. */
2674extern void memory_warnings P_ ((POINTER_TYPE *, void (*warnfun) ())); 2674extern void memory_warnings (POINTER_TYPE *, void (*warnfun) ());
2675 2675
2676/* Defined in alloc.c */ 2676/* Defined in alloc.c */
2677extern void check_pure_size P_ ((void)); 2677extern void check_pure_size (void);
2678extern void allocate_string_data P_ ((struct Lisp_String *, int, int)); 2678extern void allocate_string_data (struct Lisp_String *, int, int);
2679extern void reset_malloc_hooks P_ ((void)); 2679extern void reset_malloc_hooks (void);
2680extern void uninterrupt_malloc P_ ((void)); 2680extern void uninterrupt_malloc (void);
2681extern void malloc_warning P_ ((char *)); 2681extern void malloc_warning (char *);
2682extern void memory_full P_ ((void)) NO_RETURN; 2682extern void memory_full (void) NO_RETURN;
2683extern void buffer_memory_full P_ ((void)) NO_RETURN; 2683extern void buffer_memory_full (void) NO_RETURN;
2684extern int survives_gc_p P_ ((Lisp_Object)); 2684extern int survives_gc_p (Lisp_Object);
2685extern void mark_object P_ ((Lisp_Object)); 2685extern void mark_object (Lisp_Object);
2686extern Lisp_Object Vpurify_flag; 2686extern Lisp_Object Vpurify_flag;
2687extern Lisp_Object Vmemory_full; 2687extern Lisp_Object Vmemory_full;
2688EXFUN (Fcons, 2); 2688EXFUN (Fcons, 2);
@@ -2693,55 +2693,55 @@ EXFUN (list4, 4);
2693EXFUN (list5, 5); 2693EXFUN (list5, 5);
2694EXFUN (Flist, MANY); 2694EXFUN (Flist, MANY);
2695EXFUN (Fmake_list, 2); 2695EXFUN (Fmake_list, 2);
2696extern Lisp_Object allocate_misc P_ ((void)); 2696extern Lisp_Object allocate_misc (void);
2697EXFUN (Fmake_vector, 2); 2697EXFUN (Fmake_vector, 2);
2698EXFUN (Fvector, MANY); 2698EXFUN (Fvector, MANY);
2699EXFUN (Fmake_symbol, 1); 2699EXFUN (Fmake_symbol, 1);
2700EXFUN (Fmake_marker, 0); 2700EXFUN (Fmake_marker, 0);
2701EXFUN (Fmake_string, 2); 2701EXFUN (Fmake_string, 2);
2702extern Lisp_Object build_string P_ ((const char *)); 2702extern Lisp_Object build_string (const char *);
2703extern Lisp_Object make_string P_ ((const char *, int)); 2703extern Lisp_Object make_string (const char *, int);
2704extern Lisp_Object make_unibyte_string P_ ((const char *, int)); 2704extern Lisp_Object make_unibyte_string (const char *, int);
2705extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); 2705extern Lisp_Object make_multibyte_string (const char *, int, int);
2706extern Lisp_Object make_event_array P_ ((int, Lisp_Object *)); 2706extern Lisp_Object make_event_array (int, Lisp_Object *);
2707extern Lisp_Object make_uninit_string P_ ((int)); 2707extern Lisp_Object make_uninit_string (int);
2708extern Lisp_Object make_uninit_multibyte_string P_ ((int, int)); 2708extern Lisp_Object make_uninit_multibyte_string (int, int);
2709extern Lisp_Object make_string_from_bytes P_ ((const char *, int, int)); 2709extern Lisp_Object make_string_from_bytes (const char *, int, int);
2710extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); 2710extern Lisp_Object make_specified_string (const char *, int, int, int);
2711EXFUN (Fpurecopy, 1); 2711EXFUN (Fpurecopy, 1);
2712extern Lisp_Object make_pure_string P_ ((const char *, int, int, int)); 2712extern Lisp_Object make_pure_string (const char *, int, int, int);
2713extern Lisp_Object make_pure_c_string (const char *data); 2713extern Lisp_Object make_pure_c_string (const char *data);
2714extern Lisp_Object pure_cons P_ ((Lisp_Object, Lisp_Object)); 2714extern Lisp_Object pure_cons (Lisp_Object, Lisp_Object);
2715extern Lisp_Object make_pure_vector P_ ((EMACS_INT)); 2715extern Lisp_Object make_pure_vector (EMACS_INT);
2716EXFUN (Fgarbage_collect, 0); 2716EXFUN (Fgarbage_collect, 0);
2717EXFUN (Fmake_byte_code, MANY); 2717EXFUN (Fmake_byte_code, MANY);
2718EXFUN (Fmake_bool_vector, 2); 2718EXFUN (Fmake_bool_vector, 2);
2719extern Lisp_Object Qchar_table_extra_slots; 2719extern Lisp_Object Qchar_table_extra_slots;
2720extern struct Lisp_Vector *allocate_vector P_ ((EMACS_INT)); 2720extern struct Lisp_Vector *allocate_vector (EMACS_INT);
2721extern struct Lisp_Vector *allocate_pseudovector P_ ((int memlen, int lisplen, EMACS_INT tag)); 2721extern struct Lisp_Vector *allocate_pseudovector (int memlen, int lisplen, EMACS_INT tag);
2722#define ALLOCATE_PSEUDOVECTOR(typ,field,tag) \ 2722#define ALLOCATE_PSEUDOVECTOR(typ,field,tag) \
2723 ((typ*) \ 2723 ((typ*) \
2724 allocate_pseudovector \ 2724 allocate_pseudovector \
2725 (VECSIZE (typ), PSEUDOVECSIZE (typ, field), tag)) 2725 (VECSIZE (typ), PSEUDOVECSIZE (typ, field), tag))
2726extern struct Lisp_Hash_Table *allocate_hash_table P_ ((void)); 2726extern struct Lisp_Hash_Table *allocate_hash_table (void);
2727extern struct window *allocate_window P_ ((void)); 2727extern struct window *allocate_window (void);
2728extern struct frame *allocate_frame P_ ((void)); 2728extern struct frame *allocate_frame (void);
2729extern struct Lisp_Process *allocate_process P_ ((void)); 2729extern struct Lisp_Process *allocate_process (void);
2730extern struct terminal *allocate_terminal P_ ((void)); 2730extern struct terminal *allocate_terminal (void);
2731extern int gc_in_progress; 2731extern int gc_in_progress;
2732extern int abort_on_gc; 2732extern int abort_on_gc;
2733extern Lisp_Object make_float P_ ((double)); 2733extern Lisp_Object make_float (double);
2734extern void display_malloc_warning P_ ((void)); 2734extern void display_malloc_warning (void);
2735extern int inhibit_garbage_collection P_ ((void)); 2735extern int inhibit_garbage_collection (void);
2736extern Lisp_Object make_save_value P_ ((void *, int)); 2736extern Lisp_Object make_save_value (void *, int);
2737extern void free_misc P_ ((Lisp_Object)); 2737extern void free_misc (Lisp_Object);
2738extern void free_marker P_ ((Lisp_Object)); 2738extern void free_marker (Lisp_Object);
2739extern void free_cons P_ ((struct Lisp_Cons *)); 2739extern void free_cons (struct Lisp_Cons *);
2740extern void init_alloc_once P_ ((void)); 2740extern void init_alloc_once (void);
2741extern void init_alloc P_ ((void)); 2741extern void init_alloc (void);
2742extern void syms_of_alloc P_ ((void)); 2742extern void syms_of_alloc (void);
2743extern struct buffer * allocate_buffer P_ ((void)); 2743extern struct buffer * allocate_buffer (void);
2744extern int valid_lisp_object_p P_ ((Lisp_Object)); 2744extern int valid_lisp_object_p (Lisp_Object);
2745 2745
2746/* Defined in chartab.c */ 2746/* Defined in chartab.c */
2747EXFUN (Fmake_char_table, 2); 2747EXFUN (Fmake_char_table, 2);
@@ -2754,23 +2754,23 @@ EXFUN (Fset_char_table_range, 3);
2754EXFUN (Fset_char_table_default, 3); 2754EXFUN (Fset_char_table_default, 3);
2755EXFUN (Foptimize_char_table, 2); 2755EXFUN (Foptimize_char_table, 2);
2756EXFUN (Fmap_char_table, 2); 2756EXFUN (Fmap_char_table, 2);
2757extern Lisp_Object copy_char_table P_ ((Lisp_Object)); 2757extern Lisp_Object copy_char_table (Lisp_Object);
2758extern Lisp_Object sub_char_table_ref P_ ((Lisp_Object, int)); 2758extern Lisp_Object sub_char_table_ref (Lisp_Object, int);
2759extern Lisp_Object char_table_ref P_ ((Lisp_Object, int)); 2759extern Lisp_Object char_table_ref (Lisp_Object, int);
2760extern Lisp_Object char_table_ref_and_range P_ ((Lisp_Object, int, 2760extern Lisp_Object char_table_ref_and_range (Lisp_Object, int,
2761 int *, int *)); 2761 int *, int *);
2762extern Lisp_Object char_table_set P_ ((Lisp_Object, int, Lisp_Object)); 2762extern Lisp_Object char_table_set (Lisp_Object, int, Lisp_Object);
2763extern Lisp_Object char_table_set_range P_ ((Lisp_Object, int, int, 2763extern Lisp_Object char_table_set_range (Lisp_Object, int, int,
2764 Lisp_Object)); 2764 Lisp_Object);
2765extern int char_table_translate P_ ((Lisp_Object, int)); 2765extern int char_table_translate (Lisp_Object, int);
2766extern void map_char_table P_ ((void (*) (Lisp_Object, Lisp_Object, 2766extern void map_char_table (void (*) (Lisp_Object, Lisp_Object,
2767 Lisp_Object), 2767 Lisp_Object),
2768 Lisp_Object, Lisp_Object, Lisp_Object)); 2768 Lisp_Object, Lisp_Object, Lisp_Object);
2769extern void syms_of_chartab P_ ((void)); 2769extern void syms_of_chartab (void);
2770 2770
2771/* Defined in print.c */ 2771/* Defined in print.c */
2772extern Lisp_Object Vprin1_to_string_buffer; 2772extern Lisp_Object Vprin1_to_string_buffer;
2773extern void debug_print P_ ((Lisp_Object)); 2773extern void debug_print (Lisp_Object);
2774EXFUN (Fprin1, 2); 2774EXFUN (Fprin1, 2);
2775EXFUN (Fprin1_to_string, 2); 2775EXFUN (Fprin1_to_string, 2);
2776EXFUN (Fprinc, 2); 2776EXFUN (Fprinc, 2);
@@ -2779,19 +2779,19 @@ EXFUN (Fprint, 2);
2779EXFUN (Ferror_message_string, 1); 2779EXFUN (Ferror_message_string, 1);
2780extern Lisp_Object Vstandard_output, Qstandard_output; 2780extern Lisp_Object Vstandard_output, Qstandard_output;
2781extern Lisp_Object Qexternal_debugging_output; 2781extern Lisp_Object Qexternal_debugging_output;
2782extern void temp_output_buffer_setup P_ ((const char *)); 2782extern void temp_output_buffer_setup (const char *);
2783extern int print_level, print_escape_newlines; 2783extern int print_level, print_escape_newlines;
2784extern Lisp_Object Qprint_escape_newlines; 2784extern Lisp_Object Qprint_escape_newlines;
2785extern void write_string P_ ((char *, int)); 2785extern void write_string (char *, int);
2786extern void write_string_1 P_ ((char *, int, Lisp_Object)); 2786extern void write_string_1 (char *, int, Lisp_Object);
2787extern void print_error_message P_ ((Lisp_Object, Lisp_Object, char *, Lisp_Object)); 2787extern void print_error_message (Lisp_Object, Lisp_Object, char *, Lisp_Object);
2788extern Lisp_Object internal_with_output_to_temp_buffer 2788extern Lisp_Object internal_with_output_to_temp_buffer
2789 P_ ((const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object)); 2789 (const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object);
2790extern void float_to_string P_ ((unsigned char *, double)); 2790extern void float_to_string (unsigned char *, double);
2791extern void syms_of_print P_ ((void)); 2791extern void syms_of_print (void);
2792 2792
2793/* Defined in doprnt.c */ 2793/* Defined in doprnt.c */
2794extern int doprnt P_ ((char *, int, char *, char *, int, char **)); 2794extern int doprnt (char *, int, char *, char *, int, char **);
2795 2795
2796/* Defined in lread.c */ 2796/* Defined in lread.c */
2797extern Lisp_Object Qvariable_documentation, Qstandard_input; 2797extern Lisp_Object Qvariable_documentation, Qstandard_input;
@@ -2805,29 +2805,29 @@ EXFUN (Fget_load_suffixes, 0);
2805EXFUN (Fget_file_char, 0); 2805EXFUN (Fget_file_char, 0);
2806EXFUN (Fread_char, 3); 2806EXFUN (Fread_char, 3);
2807EXFUN (Fread_event, 3); 2807EXFUN (Fread_event, 3);
2808extern Lisp_Object read_filtered_event P_ ((int, int, int, int, Lisp_Object)); 2808extern Lisp_Object read_filtered_event (int, int, int, int, Lisp_Object);
2809EXFUN (Feval_region, 4); 2809EXFUN (Feval_region, 4);
2810extern Lisp_Object check_obarray P_ ((Lisp_Object)); 2810extern Lisp_Object check_obarray (Lisp_Object);
2811extern Lisp_Object intern P_ ((const char *)); 2811extern Lisp_Object intern (const char *);
2812extern Lisp_Object intern_c_string (const char *); 2812extern Lisp_Object intern_c_string (const char *);
2813extern Lisp_Object make_symbol P_ ((char *)); 2813extern Lisp_Object make_symbol (char *);
2814extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); 2814extern Lisp_Object oblookup (Lisp_Object, const char *, int, int);
2815#define LOADHIST_ATTACH(x) \ 2815#define LOADHIST_ATTACH(x) \
2816 do { \ 2816 do { \
2817 if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list); \ 2817 if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list); \
2818 } while (0) 2818 } while (0)
2819extern Lisp_Object Vcurrent_load_list; 2819extern Lisp_Object Vcurrent_load_list;
2820extern Lisp_Object Vload_history, Vload_suffixes, Vload_file_rep_suffixes; 2820extern Lisp_Object Vload_history, Vload_suffixes, Vload_file_rep_suffixes;
2821extern int openp P_ ((Lisp_Object, Lisp_Object, Lisp_Object, 2821extern int openp (Lisp_Object, Lisp_Object, Lisp_Object,
2822 Lisp_Object *, Lisp_Object)); 2822 Lisp_Object *, Lisp_Object);
2823extern int isfloat_string P_ ((char *, int)); 2823extern int isfloat_string (char *, int);
2824extern void map_obarray P_ ((Lisp_Object, void (*) (Lisp_Object, Lisp_Object), 2824extern void map_obarray (Lisp_Object, void (*) (Lisp_Object, Lisp_Object),
2825 Lisp_Object)); 2825 Lisp_Object);
2826extern void dir_warning P_ ((char *, Lisp_Object)); 2826extern void dir_warning (char *, Lisp_Object);
2827extern void close_load_descs P_ ((void)); 2827extern void close_load_descs (void);
2828extern void init_obarray P_ ((void)); 2828extern void init_obarray (void);
2829extern void init_lread P_ ((void)); 2829extern void init_lread (void);
2830extern void syms_of_lread P_ ((void)); 2830extern void syms_of_lread (void);
2831 2831
2832/* Defined in eval.c */ 2832/* Defined in eval.c */
2833extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro; 2833extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro;
@@ -2836,7 +2836,7 @@ extern Lisp_Object Vautoload_queue;
2836extern Lisp_Object Vdebug_on_error; 2836extern Lisp_Object Vdebug_on_error;
2837extern Lisp_Object Vsignaling_function; 2837extern Lisp_Object Vsignaling_function;
2838extern int handling_signal; 2838extern int handling_signal;
2839extern int interactive_p P_ ((int)); 2839extern int interactive_p (int);
2840 2840
2841/* To run a normal hook, use the appropriate function from the list below. 2841/* To run a normal hook, use the appropriate function from the list below.
2842 The calling convention: 2842 The calling convention:
@@ -2850,8 +2850,8 @@ EXFUN (Frun_hooks, MANY);
2850EXFUN (Frun_hook_with_args, MANY); 2850EXFUN (Frun_hook_with_args, MANY);
2851EXFUN (Frun_hook_with_args_until_success, MANY); 2851EXFUN (Frun_hook_with_args_until_success, MANY);
2852EXFUN (Frun_hook_with_args_until_failure, MANY); 2852EXFUN (Frun_hook_with_args_until_failure, MANY);
2853extern Lisp_Object run_hook_list_with_args P_ ((Lisp_Object, int, Lisp_Object *)); 2853extern Lisp_Object run_hook_list_with_args (Lisp_Object, int, Lisp_Object *);
2854extern void run_hook_with_args_2 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 2854extern void run_hook_with_args_2 (Lisp_Object, Lisp_Object, Lisp_Object);
2855EXFUN (Fand, UNEVALLED); 2855EXFUN (Fand, UNEVALLED);
2856EXFUN (For, UNEVALLED); 2856EXFUN (For, UNEVALLED);
2857EXFUN (Fif, UNEVALLED); 2857EXFUN (Fif, UNEVALLED);
@@ -2871,48 +2871,48 @@ EXFUN (Fthrow, 2) NO_RETURN;
2871EXFUN (Funwind_protect, UNEVALLED); 2871EXFUN (Funwind_protect, UNEVALLED);
2872EXFUN (Fcondition_case, UNEVALLED); 2872EXFUN (Fcondition_case, UNEVALLED);
2873EXFUN (Fsignal, 2); 2873EXFUN (Fsignal, 2);
2874extern void xsignal P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; 2874extern void xsignal (Lisp_Object, Lisp_Object) NO_RETURN;
2875extern void xsignal0 P_ ((Lisp_Object)) NO_RETURN; 2875extern void xsignal0 (Lisp_Object) NO_RETURN;
2876extern void xsignal1 P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; 2876extern void xsignal1 (Lisp_Object, Lisp_Object) NO_RETURN;
2877extern void xsignal2 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)) NO_RETURN; 2877extern void xsignal2 (Lisp_Object, Lisp_Object, Lisp_Object) NO_RETURN;
2878extern void xsignal3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)) NO_RETURN; 2878extern void xsignal3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) NO_RETURN;
2879extern void signal_error P_ ((char *, Lisp_Object)) NO_RETURN; 2879extern void signal_error (char *, Lisp_Object) NO_RETURN;
2880EXFUN (Fautoload, 5); 2880EXFUN (Fautoload, 5);
2881EXFUN (Fcommandp, 2); 2881EXFUN (Fcommandp, 2);
2882EXFUN (Feval, 1); 2882EXFUN (Feval, 1);
2883EXFUN (Fapply, MANY); 2883EXFUN (Fapply, MANY);
2884EXFUN (Ffuncall, MANY); 2884EXFUN (Ffuncall, MANY);
2885EXFUN (Fbacktrace, 0); 2885EXFUN (Fbacktrace, 0);
2886extern Lisp_Object apply1 P_ ((Lisp_Object, Lisp_Object)); 2886extern Lisp_Object apply1 (Lisp_Object, Lisp_Object);
2887extern Lisp_Object call0 P_ ((Lisp_Object)); 2887extern Lisp_Object call0 (Lisp_Object);
2888extern Lisp_Object call1 P_ ((Lisp_Object, Lisp_Object)); 2888extern Lisp_Object call1 (Lisp_Object, Lisp_Object);
2889extern Lisp_Object call2 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 2889extern Lisp_Object call2 (Lisp_Object, Lisp_Object, Lisp_Object);
2890extern Lisp_Object call3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); 2890extern Lisp_Object call3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
2891extern Lisp_Object call4 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); 2891extern Lisp_Object call4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
2892extern Lisp_Object call5 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); 2892extern Lisp_Object call5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
2893extern Lisp_Object call6 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); 2893extern Lisp_Object call6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
2894extern Lisp_Object call7 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); 2894extern Lisp_Object call7 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
2895EXFUN (Fdo_auto_save, 2); 2895EXFUN (Fdo_auto_save, 2);
2896extern Lisp_Object apply_lambda P_ ((Lisp_Object, Lisp_Object, int)); 2896extern Lisp_Object apply_lambda (Lisp_Object, Lisp_Object, int);
2897extern Lisp_Object internal_catch P_ ((Lisp_Object, Lisp_Object (*) (Lisp_Object), Lisp_Object)); 2897extern Lisp_Object internal_catch (Lisp_Object, Lisp_Object (*) (Lisp_Object), Lisp_Object);
2898extern Lisp_Object internal_lisp_condition_case P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 2898extern Lisp_Object internal_lisp_condition_case (Lisp_Object, Lisp_Object, Lisp_Object);
2899extern Lisp_Object internal_condition_case P_ ((Lisp_Object (*) (void), Lisp_Object, Lisp_Object (*) (Lisp_Object))); 2899extern Lisp_Object internal_condition_case (Lisp_Object (*) (void), Lisp_Object, Lisp_Object (*) (Lisp_Object));
2900extern Lisp_Object internal_condition_case_1 P_ ((Lisp_Object (*) (Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object))); 2900extern Lisp_Object internal_condition_case_1 (Lisp_Object (*) (Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object));
2901extern Lisp_Object internal_condition_case_2 P_ ((Lisp_Object (*) (Lisp_Object, Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object))); 2901extern Lisp_Object internal_condition_case_2 (Lisp_Object (*) (Lisp_Object, Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object));
2902extern Lisp_Object internal_condition_case_n P_ ((Lisp_Object (*) (int, Lisp_Object *), int, Lisp_Object *, Lisp_Object, Lisp_Object (*) (Lisp_Object))); 2902extern Lisp_Object internal_condition_case_n (Lisp_Object (*) (int, Lisp_Object *), int, Lisp_Object *, Lisp_Object, Lisp_Object (*) (Lisp_Object));
2903extern void specbind P_ ((Lisp_Object, Lisp_Object)); 2903extern void specbind (Lisp_Object, Lisp_Object);
2904extern void record_unwind_protect P_ ((Lisp_Object (*) (Lisp_Object), Lisp_Object)); 2904extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object);
2905extern Lisp_Object unbind_to P_ ((int, Lisp_Object)); 2905extern Lisp_Object unbind_to (int, Lisp_Object);
2906extern void error P_ ((/* char *, ... */)) NO_RETURN; 2906extern void error (/* char *, ... */) NO_RETURN;
2907extern void do_autoload P_ ((Lisp_Object, Lisp_Object)); 2907extern void do_autoload (Lisp_Object, Lisp_Object);
2908extern Lisp_Object un_autoload P_ ((Lisp_Object)); 2908extern Lisp_Object un_autoload (Lisp_Object);
2909EXFUN (Ffetch_bytecode, 1); 2909EXFUN (Ffetch_bytecode, 1);
2910extern void init_eval_once P_ ((void)); 2910extern void init_eval_once (void);
2911extern Lisp_Object safe_call P_ ((int, Lisp_Object *)); 2911extern Lisp_Object safe_call (int, Lisp_Object *);
2912extern Lisp_Object safe_call1 P_ ((Lisp_Object, Lisp_Object)); 2912extern Lisp_Object safe_call1 (Lisp_Object, Lisp_Object);
2913extern Lisp_Object safe_call2 (Lisp_Object, Lisp_Object, Lisp_Object); 2913extern Lisp_Object safe_call2 (Lisp_Object, Lisp_Object, Lisp_Object);
2914extern void init_eval P_ ((void)); 2914extern void init_eval (void);
2915extern void syms_of_eval P_ ((void)); 2915extern void syms_of_eval (void);
2916 2916
2917/* Defined in editfns.c */ 2917/* Defined in editfns.c */
2918EXFUN (Fpropertize, MANY); 2918EXFUN (Fpropertize, MANY);
@@ -2935,20 +2935,20 @@ EXFUN (Finsert_and_inherit, MANY);
2935EXFUN (Finsert_before_markers, MANY); 2935EXFUN (Finsert_before_markers, MANY);
2936EXFUN (Finsert_buffer_substring, 3); 2936EXFUN (Finsert_buffer_substring, 3);
2937EXFUN (Finsert_char, 3); 2937EXFUN (Finsert_char, 3);
2938extern void insert1 P_ ((Lisp_Object)); 2938extern void insert1 (Lisp_Object);
2939EXFUN (Feolp, 0); 2939EXFUN (Feolp, 0);
2940EXFUN (Feobp, 0); 2940EXFUN (Feobp, 0);
2941EXFUN (Fbolp, 0); 2941EXFUN (Fbolp, 0);
2942EXFUN (Fbobp, 0); 2942EXFUN (Fbobp, 0);
2943EXFUN (Fformat, MANY); 2943EXFUN (Fformat, MANY);
2944EXFUN (Fmessage, MANY); 2944EXFUN (Fmessage, MANY);
2945extern Lisp_Object format2 P_ ((char *, Lisp_Object, Lisp_Object)); 2945extern Lisp_Object format2 (char *, Lisp_Object, Lisp_Object);
2946EXFUN (Fbuffer_substring, 2); 2946EXFUN (Fbuffer_substring, 2);
2947EXFUN (Fbuffer_string, 0); 2947EXFUN (Fbuffer_string, 0);
2948extern Lisp_Object save_excursion_save P_ ((void)); 2948extern Lisp_Object save_excursion_save (void);
2949extern Lisp_Object save_restriction_save P_ ((void)); 2949extern Lisp_Object save_restriction_save (void);
2950extern Lisp_Object save_excursion_restore P_ ((Lisp_Object)); 2950extern Lisp_Object save_excursion_restore (Lisp_Object);
2951extern Lisp_Object save_restriction_restore P_ ((Lisp_Object)); 2951extern Lisp_Object save_restriction_restore (Lisp_Object);
2952EXFUN (Fchar_to_string, 1); 2952EXFUN (Fchar_to_string, 1);
2953EXFUN (Fdelete_region, 2); 2953EXFUN (Fdelete_region, 2);
2954EXFUN (Fnarrow_to_region, 2); 2954EXFUN (Fnarrow_to_region, 2);
@@ -2956,11 +2956,11 @@ EXFUN (Fwiden, 0);
2956EXFUN (Fuser_login_name, 1); 2956EXFUN (Fuser_login_name, 1);
2957EXFUN (Fsystem_name, 0); 2957EXFUN (Fsystem_name, 0);
2958EXFUN (Fcurrent_time, 0); 2958EXFUN (Fcurrent_time, 0);
2959extern int clip_to_bounds P_ ((int, int, int)); 2959extern int clip_to_bounds (int, int, int);
2960extern Lisp_Object make_buffer_string P_ ((int, int, int)); 2960extern Lisp_Object make_buffer_string (int, int, int);
2961extern Lisp_Object make_buffer_string_both P_ ((int, int, int, int, int)); 2961extern Lisp_Object make_buffer_string_both (int, int, int, int, int);
2962extern void init_editfns P_ ((void)); 2962extern void init_editfns (void);
2963extern void syms_of_editfns P_ ((void)); 2963extern void syms_of_editfns (void);
2964extern Lisp_Object Vinhibit_field_text_motion; 2964extern Lisp_Object Vinhibit_field_text_motion;
2965EXFUN (Fconstrain_to_field, 5); 2965EXFUN (Fconstrain_to_field, 5);
2966EXFUN (Ffield_string, 1); 2966EXFUN (Ffield_string, 1);
@@ -2968,21 +2968,21 @@ EXFUN (Fdelete_field, 1);
2968EXFUN (Ffield_beginning, 3); 2968EXFUN (Ffield_beginning, 3);
2969EXFUN (Ffield_end, 3); 2969EXFUN (Ffield_end, 3);
2970EXFUN (Ffield_string_no_properties, 1); 2970EXFUN (Ffield_string_no_properties, 1);
2971extern void set_time_zone_rule P_ ((char *)); 2971extern void set_time_zone_rule (char *);
2972 2972
2973/* Defined in buffer.c */ 2973/* Defined in buffer.c */
2974extern int mouse_face_overlay_overlaps P_ ((Lisp_Object)); 2974extern int mouse_face_overlay_overlaps (Lisp_Object);
2975extern void nsberror P_ ((Lisp_Object)) NO_RETURN; 2975extern void nsberror (Lisp_Object) NO_RETURN;
2976EXFUN (Fset_buffer_multibyte, 1); 2976EXFUN (Fset_buffer_multibyte, 1);
2977EXFUN (Foverlay_start, 1); 2977EXFUN (Foverlay_start, 1);
2978EXFUN (Foverlay_end, 1); 2978EXFUN (Foverlay_end, 1);
2979EXFUN (Foverlay_buffer, 1); 2979EXFUN (Foverlay_buffer, 1);
2980extern void adjust_overlays_for_insert P_ ((EMACS_INT, EMACS_INT)); 2980extern void adjust_overlays_for_insert (EMACS_INT, EMACS_INT);
2981extern void adjust_overlays_for_delete P_ ((EMACS_INT, EMACS_INT)); 2981extern void adjust_overlays_for_delete (EMACS_INT, EMACS_INT);
2982extern void fix_start_end_in_overlays P_ ((int, int)); 2982extern void fix_start_end_in_overlays (int, int);
2983extern void report_overlay_modification P_ ((Lisp_Object, Lisp_Object, int, 2983extern void report_overlay_modification (Lisp_Object, Lisp_Object, int,
2984 Lisp_Object, Lisp_Object, Lisp_Object)); 2984 Lisp_Object, Lisp_Object, Lisp_Object);
2985extern int overlay_touches_p P_ ((int)); 2985extern int overlay_touches_p (int);
2986extern Lisp_Object Vbuffer_alist, Vinhibit_read_only; 2986extern Lisp_Object Vbuffer_alist, Vinhibit_read_only;
2987EXFUN (Fbuffer_list, 1); 2987EXFUN (Fbuffer_list, 1);
2988EXFUN (Fget_buffer, 1); 2988EXFUN (Fget_buffer, 1);
@@ -3004,14 +3004,14 @@ EXFUN (Fbuffer_enable_undo, 1);
3004EXFUN (Ferase_buffer, 0); 3004EXFUN (Ferase_buffer, 0);
3005extern Lisp_Object Qoverlayp; 3005extern Lisp_Object Qoverlayp;
3006extern Lisp_Object Qevaporate; 3006extern Lisp_Object Qevaporate;
3007extern Lisp_Object get_truename_buffer P_ ((Lisp_Object)); 3007extern Lisp_Object get_truename_buffer (Lisp_Object);
3008extern struct buffer *all_buffers; 3008extern struct buffer *all_buffers;
3009EXFUN (Fprevious_overlay_change, 1); 3009EXFUN (Fprevious_overlay_change, 1);
3010EXFUN (Fbuffer_file_name, 1); 3010EXFUN (Fbuffer_file_name, 1);
3011extern void init_buffer_once P_ ((void)); 3011extern void init_buffer_once (void);
3012extern void init_buffer P_ ((void)); 3012extern void init_buffer (void);
3013extern void syms_of_buffer P_ ((void)); 3013extern void syms_of_buffer (void);
3014extern void keys_of_buffer P_ ((void)); 3014extern void keys_of_buffer (void);
3015 3015
3016/* Defined in marker.c */ 3016/* Defined in marker.c */
3017 3017
@@ -3019,18 +3019,18 @@ EXFUN (Fmarker_position, 1);
3019EXFUN (Fmarker_buffer, 1); 3019EXFUN (Fmarker_buffer, 1);
3020EXFUN (Fcopy_marker, 2); 3020EXFUN (Fcopy_marker, 2);
3021EXFUN (Fset_marker, 3); 3021EXFUN (Fset_marker, 3);
3022extern int marker_position P_ ((Lisp_Object)); 3022extern int marker_position (Lisp_Object);
3023extern int marker_byte_position P_ ((Lisp_Object)); 3023extern int marker_byte_position (Lisp_Object);
3024extern void clear_charpos_cache P_ ((struct buffer *)); 3024extern void clear_charpos_cache (struct buffer *);
3025extern int charpos_to_bytepos P_ ((int)); 3025extern int charpos_to_bytepos (int);
3026extern int buf_charpos_to_bytepos P_ ((struct buffer *, int)); 3026extern int buf_charpos_to_bytepos (struct buffer *, int);
3027extern int buf_bytepos_to_charpos P_ ((struct buffer *, int)); 3027extern int buf_bytepos_to_charpos (struct buffer *, int);
3028extern void unchain_marker P_ ((struct Lisp_Marker *marker)); 3028extern void unchain_marker (struct Lisp_Marker *marker);
3029extern Lisp_Object set_marker_restricted P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 3029extern Lisp_Object set_marker_restricted (Lisp_Object, Lisp_Object, Lisp_Object);
3030extern Lisp_Object set_marker_both P_ ((Lisp_Object, Lisp_Object, int, int)); 3030extern Lisp_Object set_marker_both (Lisp_Object, Lisp_Object, int, int);
3031extern Lisp_Object set_marker_restricted_both P_ ((Lisp_Object, Lisp_Object, 3031extern Lisp_Object set_marker_restricted_both (Lisp_Object, Lisp_Object,
3032 int, int)); 3032 int, int);
3033extern void syms_of_marker P_ ((void)); 3033extern void syms_of_marker (void);
3034 3034
3035/* Defined in fileio.c */ 3035/* Defined in fileio.c */
3036 3036
@@ -3047,7 +3047,7 @@ EXFUN (Ffile_exists_p, 1);
3047EXFUN (Ffile_name_absolute_p, 1); 3047EXFUN (Ffile_name_absolute_p, 1);
3048EXFUN (Fdirectory_file_name, 1); 3048EXFUN (Fdirectory_file_name, 1);
3049EXFUN (Ffile_name_directory, 1); 3049EXFUN (Ffile_name_directory, 1);
3050extern Lisp_Object expand_and_dir_to_file P_ ((Lisp_Object, Lisp_Object)); 3050extern Lisp_Object expand_and_dir_to_file (Lisp_Object, Lisp_Object);
3051EXFUN (Ffile_accessible_directory_p, 1); 3051EXFUN (Ffile_accessible_directory_p, 1);
3052EXFUN (Funhandled_file_name_directory, 1); 3052EXFUN (Funhandled_file_name_directory, 1);
3053EXFUN (Ffile_directory_p, 1); 3053EXFUN (Ffile_directory_p, 1);
@@ -3055,47 +3055,47 @@ EXFUN (Fwrite_region, 7);
3055EXFUN (Ffile_readable_p, 1); 3055EXFUN (Ffile_readable_p, 1);
3056EXFUN (Ffile_executable_p, 1); 3056EXFUN (Ffile_executable_p, 1);
3057EXFUN (Fread_file_name, 6); 3057EXFUN (Fread_file_name, 6);
3058extern Lisp_Object close_file_unwind P_ ((Lisp_Object)); 3058extern Lisp_Object close_file_unwind (Lisp_Object);
3059extern Lisp_Object restore_point_unwind P_ ((Lisp_Object)); 3059extern Lisp_Object restore_point_unwind (Lisp_Object);
3060extern void report_file_error P_ ((const char *, Lisp_Object)) NO_RETURN; 3060extern void report_file_error (const char *, Lisp_Object) NO_RETURN;
3061extern int internal_delete_file P_ ((Lisp_Object)); 3061extern int internal_delete_file (Lisp_Object);
3062extern void syms_of_fileio P_ ((void)); 3062extern void syms_of_fileio (void);
3063extern Lisp_Object make_temp_name P_ ((Lisp_Object, int)); 3063extern Lisp_Object make_temp_name (Lisp_Object, int);
3064EXFUN (Fmake_symbolic_link, 3); 3064EXFUN (Fmake_symbolic_link, 3);
3065extern Lisp_Object Qdelete_file; 3065extern Lisp_Object Qdelete_file;
3066 3066
3067/* Defined in abbrev.c */ 3067/* Defined in abbrev.c */
3068 3068
3069extern void syms_of_abbrev P_ ((void)); 3069extern void syms_of_abbrev (void);
3070 3070
3071/* Defined in search.c */ 3071/* Defined in search.c */
3072extern void shrink_regexp_cache P_ ((void)); 3072extern void shrink_regexp_cache (void);
3073EXFUN (Fstring_match, 3); 3073EXFUN (Fstring_match, 3);
3074extern void restore_search_regs P_ ((void)); 3074extern void restore_search_regs (void);
3075EXFUN (Fmatch_data, 3); 3075EXFUN (Fmatch_data, 3);
3076EXFUN (Fset_match_data, 2); 3076EXFUN (Fset_match_data, 2);
3077EXFUN (Fmatch_beginning, 1); 3077EXFUN (Fmatch_beginning, 1);
3078EXFUN (Fmatch_end, 1); 3078EXFUN (Fmatch_end, 1);
3079extern void record_unwind_save_match_data P_ ((void)); 3079extern void record_unwind_save_match_data (void);
3080EXFUN (Flooking_at, 1); 3080EXFUN (Flooking_at, 1);
3081extern int fast_string_match P_ ((Lisp_Object, Lisp_Object)); 3081extern int fast_string_match (Lisp_Object, Lisp_Object);
3082extern int fast_c_string_match_ignore_case P_ ((Lisp_Object, const char *)); 3082extern int fast_c_string_match_ignore_case (Lisp_Object, const char *);
3083extern int fast_string_match_ignore_case P_ ((Lisp_Object, Lisp_Object)); 3083extern int fast_string_match_ignore_case (Lisp_Object, Lisp_Object);
3084extern EMACS_INT fast_looking_at P_ ((Lisp_Object, EMACS_INT, EMACS_INT, 3084extern EMACS_INT fast_looking_at (Lisp_Object, EMACS_INT, EMACS_INT,
3085 EMACS_INT, EMACS_INT, Lisp_Object)); 3085 EMACS_INT, EMACS_INT, Lisp_Object);
3086extern int scan_buffer P_ ((int, EMACS_INT, EMACS_INT, int, int *, int)); 3086extern int scan_buffer (int, EMACS_INT, EMACS_INT, int, int *, int);
3087extern int scan_newline P_ ((EMACS_INT, EMACS_INT, EMACS_INT, EMACS_INT, 3087extern int scan_newline (EMACS_INT, EMACS_INT, EMACS_INT, EMACS_INT,
3088 int, int)); 3088 int, int);
3089extern int find_next_newline P_ ((EMACS_INT, int)); 3089extern int find_next_newline (EMACS_INT, int);
3090extern int find_next_newline_no_quit P_ ((EMACS_INT, int)); 3090extern int find_next_newline_no_quit (EMACS_INT, int);
3091extern int find_before_next_newline P_ ((EMACS_INT, EMACS_INT, int)); 3091extern int find_before_next_newline (EMACS_INT, EMACS_INT, int);
3092extern void syms_of_search P_ ((void)); 3092extern void syms_of_search (void);
3093extern void clear_regexp_cache P_ ((void)); 3093extern void clear_regexp_cache (void);
3094 3094
3095/* Defined in minibuf.c */ 3095/* Defined in minibuf.c */
3096 3096
3097extern Lisp_Object last_minibuf_string; 3097extern Lisp_Object last_minibuf_string;
3098extern void choose_minibuf_frame P_ ((void)); 3098extern void choose_minibuf_frame (void);
3099EXFUN (Fcompleting_read, 8); 3099EXFUN (Fcompleting_read, 8);
3100EXFUN (Fread_from_minibuffer, 7); 3100EXFUN (Fread_from_minibuffer, 7);
3101EXFUN (Fread_variable, 2); 3101EXFUN (Fread_variable, 2);
@@ -3105,10 +3105,10 @@ EXFUN (Feval_minibuffer, 2);
3105EXFUN (Fread_string, 5); 3105EXFUN (Fread_string, 5);
3106EXFUN (Fread_no_blanks_input, 3); 3106EXFUN (Fread_no_blanks_input, 3);
3107EXFUN (Fassoc_string, 3); 3107EXFUN (Fassoc_string, 3);
3108extern Lisp_Object get_minibuffer P_ ((int)); 3108extern Lisp_Object get_minibuffer (int);
3109extern void temp_echo_area_glyphs P_ ((Lisp_Object)); 3109extern void temp_echo_area_glyphs (Lisp_Object);
3110extern void init_minibuf_once P_ ((void)); 3110extern void init_minibuf_once (void);
3111extern void syms_of_minibuf P_ ((void)); 3111extern void syms_of_minibuf (void);
3112 3112
3113/* Defined in callint.c */ 3113/* Defined in callint.c */
3114 3114
@@ -3117,7 +3117,7 @@ extern Lisp_Object Vcommand_history;
3117extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook; 3117extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook;
3118EXFUN (Fcall_interactively, 3); 3118EXFUN (Fcall_interactively, 3);
3119EXFUN (Fprefix_numeric_value, 1); 3119EXFUN (Fprefix_numeric_value, 1);
3120extern void syms_of_callint P_ ((void)); 3120extern void syms_of_callint (void);
3121 3121
3122/* Defined in casefiddle.c */ 3122/* Defined in casefiddle.c */
3123 3123
@@ -3127,22 +3127,22 @@ EXFUN (Fcapitalize, 1);
3127EXFUN (Fupcase_region, 2); 3127EXFUN (Fupcase_region, 2);
3128EXFUN (Fupcase_initials, 1); 3128EXFUN (Fupcase_initials, 1);
3129EXFUN (Fupcase_initials_region, 2); 3129EXFUN (Fupcase_initials_region, 2);
3130extern void syms_of_casefiddle P_ ((void)); 3130extern void syms_of_casefiddle (void);
3131extern void keys_of_casefiddle P_ ((void)); 3131extern void keys_of_casefiddle (void);
3132 3132
3133/* Defined in casetab.c */ 3133/* Defined in casetab.c */
3134 3134
3135EXFUN (Fset_case_table, 1); 3135EXFUN (Fset_case_table, 1);
3136EXFUN (Fset_standard_case_table, 1); 3136EXFUN (Fset_standard_case_table, 1);
3137extern void init_casetab_once P_ ((void)); 3137extern void init_casetab_once (void);
3138extern void syms_of_casetab P_ ((void)); 3138extern void syms_of_casetab (void);
3139 3139
3140/* Defined in keyboard.c */ 3140/* Defined in keyboard.c */
3141 3141
3142extern int echoing; 3142extern int echoing;
3143extern Lisp_Object echo_message_buffer; 3143extern Lisp_Object echo_message_buffer;
3144extern struct kboard *echo_kboard; 3144extern struct kboard *echo_kboard;
3145extern void cancel_echoing P_ ((void)); 3145extern void cancel_echoing (void);
3146extern Lisp_Object Qdisabled, QCfilter; 3146extern Lisp_Object Qdisabled, QCfilter;
3147extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level; 3147extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level;
3148extern Lisp_Object Vthrow_on_input; 3148extern Lisp_Object Vthrow_on_input;
@@ -3152,10 +3152,10 @@ EXFUN (Frecursive_edit, 0);
3152EXFUN (Ftop_level, 0); 3152EXFUN (Ftop_level, 0);
3153EXFUN (Fcommand_execute, 4); 3153EXFUN (Fcommand_execute, 4);
3154EXFUN (Finput_pending_p, 0); 3154EXFUN (Finput_pending_p, 0);
3155extern Lisp_Object menu_bar_items P_ ((Lisp_Object)); 3155extern Lisp_Object menu_bar_items (Lisp_Object);
3156extern Lisp_Object tool_bar_items P_ ((Lisp_Object, int *)); 3156extern Lisp_Object tool_bar_items (Lisp_Object, int *);
3157extern Lisp_Object Qvertical_scroll_bar; 3157extern Lisp_Object Qvertical_scroll_bar;
3158extern void discard_mouse_events P_ ((void)); 3158extern void discard_mouse_events (void);
3159EXFUN (Fevent_convert_list, 1); 3159EXFUN (Fevent_convert_list, 1);
3160EXFUN (Fread_key_sequence, 5); 3160EXFUN (Fread_key_sequence, 5);
3161EXFUN (Fset_input_interrupt_mode, 1); 3161EXFUN (Fset_input_interrupt_mode, 1);
@@ -3164,18 +3164,18 @@ EXFUN (Fset_input_meta_mode, 2);
3164EXFUN (Fset_quit_char, 1); 3164EXFUN (Fset_quit_char, 1);
3165EXFUN (Fset_input_mode, 4); 3165EXFUN (Fset_input_mode, 4);
3166extern Lisp_Object pending_funcalls; 3166extern Lisp_Object pending_funcalls;
3167extern int detect_input_pending P_ ((void)); 3167extern int detect_input_pending (void);
3168extern int detect_input_pending_ignore_squeezables P_ ((void)); 3168extern int detect_input_pending_ignore_squeezables (void);
3169extern int detect_input_pending_run_timers P_ ((int)); 3169extern int detect_input_pending_run_timers (int);
3170extern void safe_run_hooks P_ ((Lisp_Object)); 3170extern void safe_run_hooks (Lisp_Object);
3171extern void cmd_error_internal P_ ((Lisp_Object, char *)); 3171extern void cmd_error_internal (Lisp_Object, char *);
3172extern Lisp_Object command_loop_1 P_ ((void)); 3172extern Lisp_Object command_loop_1 (void);
3173extern Lisp_Object recursive_edit_1 P_ ((void)); 3173extern Lisp_Object recursive_edit_1 (void);
3174extern void record_auto_save P_ ((void)); 3174extern void record_auto_save (void);
3175extern void init_keyboard P_ ((void)); 3175extern void init_keyboard (void);
3176extern void syms_of_keyboard P_ ((void)); 3176extern void syms_of_keyboard (void);
3177extern void keys_of_keyboard P_ ((void)); 3177extern void keys_of_keyboard (void);
3178extern char *push_key_description P_ ((unsigned int, char *, int)); 3178extern char *push_key_description (unsigned int, char *, int);
3179 3179
3180 3180
3181/* Defined in indent.c */ 3181/* Defined in indent.c */
@@ -3183,10 +3183,10 @@ EXFUN (Fvertical_motion, 2);
3183EXFUN (Findent_to, 2); 3183EXFUN (Findent_to, 2);
3184EXFUN (Fcurrent_column, 0); 3184EXFUN (Fcurrent_column, 0);
3185EXFUN (Fmove_to_column, 2); 3185EXFUN (Fmove_to_column, 2);
3186extern double current_column P_ ((void)); 3186extern double current_column (void);
3187extern void invalidate_current_column P_ ((void)); 3187extern void invalidate_current_column (void);
3188extern int indented_beyond_p P_ ((int, int, double)); 3188extern int indented_beyond_p (int, int, double);
3189extern void syms_of_indent P_ ((void)); 3189extern void syms_of_indent (void);
3190 3190
3191/* Defined in frame.c */ 3191/* Defined in frame.c */
3192#ifdef HAVE_WINDOW_SYSTEM 3192#ifdef HAVE_WINDOW_SYSTEM
@@ -3194,11 +3194,11 @@ extern Lisp_Object Vx_resource_name;
3194extern Lisp_Object Vx_resource_class; 3194extern Lisp_Object Vx_resource_class;
3195#endif /* HAVE_WINDOW_SYSTEM */ 3195#endif /* HAVE_WINDOW_SYSTEM */
3196extern Lisp_Object Qvisible; 3196extern Lisp_Object Qvisible;
3197extern void store_frame_param P_ ((struct frame *, Lisp_Object, Lisp_Object)); 3197extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object);
3198extern void store_in_alist P_ ((Lisp_Object *, Lisp_Object, Lisp_Object)); 3198extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object);
3199extern Lisp_Object do_switch_frame P_ ((Lisp_Object, int, int, Lisp_Object)); 3199extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object);
3200extern Lisp_Object get_frame_param P_ ((struct frame *, Lisp_Object)); 3200extern Lisp_Object get_frame_param (struct frame *, Lisp_Object);
3201extern Lisp_Object frame_buffer_predicate P_ ((Lisp_Object)); 3201extern Lisp_Object frame_buffer_predicate (Lisp_Object);
3202EXFUN (Fframep, 1); 3202EXFUN (Fframep, 1);
3203EXFUN (Fselect_frame, 2); 3203EXFUN (Fselect_frame, 2);
3204EXFUN (Fselected_frame, 0); 3204EXFUN (Fselected_frame, 0);
@@ -3225,30 +3225,30 @@ EXFUN (Fset_frame_position, 3);
3225EXFUN (Fraise_frame, 1); 3225EXFUN (Fraise_frame, 1);
3226EXFUN (Fredirect_frame_focus, 2); 3226EXFUN (Fredirect_frame_focus, 2);
3227EXFUN (Fset_frame_selected_window, 3); 3227EXFUN (Fset_frame_selected_window, 3);
3228extern Lisp_Object frame_buffer_list P_ ((Lisp_Object)); 3228extern Lisp_Object frame_buffer_list (Lisp_Object);
3229extern void frames_discard_buffer P_ ((Lisp_Object)); 3229extern void frames_discard_buffer (Lisp_Object);
3230extern void set_frame_buffer_list P_ ((Lisp_Object, Lisp_Object)); 3230extern void set_frame_buffer_list (Lisp_Object, Lisp_Object);
3231extern void frames_bury_buffer P_ ((Lisp_Object)); 3231extern void frames_bury_buffer (Lisp_Object);
3232extern void syms_of_frame P_ ((void)); 3232extern void syms_of_frame (void);
3233 3233
3234/* Defined in emacs.c */ 3234/* Defined in emacs.c */
3235extern Lisp_Object decode_env_path P_ ((char *, char *)); 3235extern Lisp_Object decode_env_path (char *, char *);
3236extern Lisp_Object Vinvocation_name, Vinvocation_directory; 3236extern Lisp_Object Vinvocation_name, Vinvocation_directory;
3237extern Lisp_Object Vbefore_init_time, Vafter_init_time; 3237extern Lisp_Object Vbefore_init_time, Vafter_init_time;
3238extern Lisp_Object Vinstallation_directory; 3238extern Lisp_Object Vinstallation_directory;
3239extern Lisp_Object empty_unibyte_string, empty_multibyte_string; 3239extern Lisp_Object empty_unibyte_string, empty_multibyte_string;
3240EXFUN (Fkill_emacs, 1); 3240EXFUN (Fkill_emacs, 1);
3241#if HAVE_SETLOCALE 3241#if HAVE_SETLOCALE
3242void fixup_locale P_ ((void)); 3242void fixup_locale (void);
3243void synchronize_system_messages_locale P_ ((void)); 3243void synchronize_system_messages_locale (void);
3244void synchronize_system_time_locale P_ ((void)); 3244void synchronize_system_time_locale (void);
3245#else 3245#else
3246#define setlocale(category, locale) 3246#define setlocale(category, locale)
3247#define fixup_locale() 3247#define fixup_locale()
3248#define synchronize_system_messages_locale() 3248#define synchronize_system_messages_locale()
3249#define synchronize_system_time_locale() 3249#define synchronize_system_time_locale()
3250#endif 3250#endif
3251void shut_down_emacs P_ ((int, int, Lisp_Object)); 3251void shut_down_emacs (int, int, Lisp_Object);
3252/* Nonzero means don't do interactive redisplay and don't change tty modes. */ 3252/* Nonzero means don't do interactive redisplay and don't change tty modes. */
3253extern int noninteractive; 3253extern int noninteractive;
3254 3254
@@ -3274,68 +3274,68 @@ EXFUN (Fkill_process, 2);
3274EXFUN (Fprocess_send_eof, 1); 3274EXFUN (Fprocess_send_eof, 1);
3275EXFUN (Fwaiting_for_user_input_p, 0); 3275EXFUN (Fwaiting_for_user_input_p, 0);
3276extern Lisp_Object Qprocessp; 3276extern Lisp_Object Qprocessp;
3277extern void kill_buffer_processes P_ ((Lisp_Object)); 3277extern void kill_buffer_processes (Lisp_Object);
3278extern int wait_reading_process_output P_ ((int, int, int, int, 3278extern int wait_reading_process_output (int, int, int, int,
3279 Lisp_Object, 3279 Lisp_Object,
3280 struct Lisp_Process *, 3280 struct Lisp_Process *,
3281 int)); 3281 int);
3282extern void add_keyboard_wait_descriptor P_ ((int)); 3282extern void add_keyboard_wait_descriptor (int);
3283extern void delete_keyboard_wait_descriptor P_ ((int)); 3283extern void delete_keyboard_wait_descriptor (int);
3284extern void add_gpm_wait_descriptor P_ ((int)); 3284extern void add_gpm_wait_descriptor (int);
3285extern void delete_gpm_wait_descriptor P_ ((int)); 3285extern void delete_gpm_wait_descriptor (int);
3286extern void close_process_descs P_ ((void)); 3286extern void close_process_descs (void);
3287extern void init_process P_ ((void)); 3287extern void init_process (void);
3288extern void syms_of_process P_ ((void)); 3288extern void syms_of_process (void);
3289extern void setup_process_coding_systems P_ ((Lisp_Object)); 3289extern void setup_process_coding_systems (Lisp_Object);
3290 3290
3291/* Defined in callproc.c */ 3291/* Defined in callproc.c */
3292extern Lisp_Object Vexec_path, Vexec_suffixes, 3292extern Lisp_Object Vexec_path, Vexec_suffixes,
3293 Vexec_directory, Vdata_directory; 3293 Vexec_directory, Vdata_directory;
3294extern Lisp_Object Vdoc_directory; 3294extern Lisp_Object Vdoc_directory;
3295EXFUN (Fcall_process, MANY); 3295EXFUN (Fcall_process, MANY);
3296extern int child_setup P_ ((int, int, int, char **, int, Lisp_Object)); 3296extern int child_setup (int, int, int, char **, int, Lisp_Object);
3297extern void init_callproc_1 P_ ((void)); 3297extern void init_callproc_1 (void);
3298extern void init_callproc P_ ((void)); 3298extern void init_callproc (void);
3299extern void set_initial_environment P_ ((void)); 3299extern void set_initial_environment (void);
3300extern void syms_of_callproc P_ ((void)); 3300extern void syms_of_callproc (void);
3301 3301
3302/* Defined in doc.c */ 3302/* Defined in doc.c */
3303extern Lisp_Object Vdoc_file_name; 3303extern Lisp_Object Vdoc_file_name;
3304EXFUN (Fsubstitute_command_keys, 1); 3304EXFUN (Fsubstitute_command_keys, 1);
3305EXFUN (Fdocumentation, 2); 3305EXFUN (Fdocumentation, 2);
3306EXFUN (Fdocumentation_property, 3); 3306EXFUN (Fdocumentation_property, 3);
3307extern Lisp_Object read_doc_string P_ ((Lisp_Object)); 3307extern Lisp_Object read_doc_string (Lisp_Object);
3308extern Lisp_Object get_doc_string P_ ((Lisp_Object, int, int)); 3308extern Lisp_Object get_doc_string (Lisp_Object, int, int);
3309extern void syms_of_doc P_ ((void)); 3309extern void syms_of_doc (void);
3310extern int read_bytecode_char P_ ((int)); 3310extern int read_bytecode_char (int);
3311 3311
3312/* Defined in bytecode.c */ 3312/* Defined in bytecode.c */
3313extern Lisp_Object Qbytecode; 3313extern Lisp_Object Qbytecode;
3314EXFUN (Fbyte_code, 3); 3314EXFUN (Fbyte_code, 3);
3315extern void syms_of_bytecode P_ ((void)); 3315extern void syms_of_bytecode (void);
3316extern struct byte_stack *byte_stack_list; 3316extern struct byte_stack *byte_stack_list;
3317extern void mark_byte_stack P_ ((void)); 3317extern void mark_byte_stack (void);
3318extern void unmark_byte_stack P_ ((void)); 3318extern void unmark_byte_stack (void);
3319 3319
3320/* Defined in macros.c */ 3320/* Defined in macros.c */
3321extern Lisp_Object Qexecute_kbd_macro; 3321extern Lisp_Object Qexecute_kbd_macro;
3322EXFUN (Fexecute_kbd_macro, 3); 3322EXFUN (Fexecute_kbd_macro, 3);
3323EXFUN (Fcancel_kbd_macro_events, 0); 3323EXFUN (Fcancel_kbd_macro_events, 0);
3324extern void init_macros P_ ((void)); 3324extern void init_macros (void);
3325extern void syms_of_macros P_ ((void)); 3325extern void syms_of_macros (void);
3326 3326
3327/* Defined in undo.c */ 3327/* Defined in undo.c */
3328extern Lisp_Object Qinhibit_read_only; 3328extern Lisp_Object Qinhibit_read_only;
3329EXFUN (Fundo_boundary, 0); 3329EXFUN (Fundo_boundary, 0);
3330extern void truncate_undo_list P_ ((struct buffer *)); 3330extern void truncate_undo_list (struct buffer *);
3331extern void record_marker_adjustment P_ ((Lisp_Object, int)); 3331extern void record_marker_adjustment (Lisp_Object, int);
3332extern void record_insert P_ ((int, int)); 3332extern void record_insert (int, int);
3333extern void record_delete P_ ((int, Lisp_Object)); 3333extern void record_delete (int, Lisp_Object);
3334extern void record_first_change P_ ((void)); 3334extern void record_first_change (void);
3335extern void record_change P_ ((int, int)); 3335extern void record_change (int, int);
3336extern void record_property_change P_ ((int, int, Lisp_Object, Lisp_Object, 3336extern void record_property_change (int, int, Lisp_Object, Lisp_Object,
3337 Lisp_Object)); 3337 Lisp_Object);
3338extern void syms_of_undo P_ ((void)); 3338extern void syms_of_undo (void);
3339extern Lisp_Object Vundo_outer_limit; 3339extern Lisp_Object Vundo_outer_limit;
3340 3340
3341/* Defined in textprop.c */ 3341/* Defined in textprop.c */
@@ -3349,19 +3349,19 @@ EXFUN (Fput_text_property, 5);
3349EXFUN (Fget_text_property, 3); 3349EXFUN (Fget_text_property, 3);
3350EXFUN (Fprevious_char_property_change, 2); 3350EXFUN (Fprevious_char_property_change, 2);
3351EXFUN (Fnext_char_property_change, 2); 3351EXFUN (Fnext_char_property_change, 2);
3352extern void report_interval_modification P_ ((Lisp_Object, Lisp_Object)); 3352extern void report_interval_modification (Lisp_Object, Lisp_Object);
3353extern Lisp_Object next_single_char_property_change P_ ((Lisp_Object, 3353extern Lisp_Object next_single_char_property_change (Lisp_Object,
3354 Lisp_Object, 3354 Lisp_Object,
3355 Lisp_Object, 3355 Lisp_Object,
3356 Lisp_Object)); 3356 Lisp_Object);
3357 3357
3358/* Defined in menu.c */ 3358/* Defined in menu.c */
3359extern void syms_of_menu P_ ((void)); 3359extern void syms_of_menu (void);
3360 3360
3361/* Defined in xmenu.c */ 3361/* Defined in xmenu.c */
3362EXFUN (Fx_popup_menu, 2); 3362EXFUN (Fx_popup_menu, 2);
3363EXFUN (Fx_popup_dialog, 3); 3363EXFUN (Fx_popup_dialog, 3);
3364extern void syms_of_xmenu P_ ((void)); 3364extern void syms_of_xmenu (void);
3365 3365
3366/* Defined in termchar.h */ 3366/* Defined in termchar.h */
3367struct tty_display_info; 3367struct tty_display_info;
@@ -3371,73 +3371,73 @@ struct terminal;
3371 3371
3372/* Defined in sysdep.c */ 3372/* Defined in sysdep.c */
3373#ifndef HAVE_GET_CURRENT_DIR_NAME 3373#ifndef HAVE_GET_CURRENT_DIR_NAME
3374extern char *get_current_dir_name P_ ((void)); 3374extern char *get_current_dir_name (void);
3375#endif 3375#endif
3376extern void stuff_char P_ ((char c)); 3376extern void stuff_char (char c);
3377extern void init_sigio P_ ((int)); 3377extern void init_sigio (int);
3378extern void sys_subshell P_ ((void)); 3378extern void sys_subshell (void);
3379extern void sys_suspend P_ ((void)); 3379extern void sys_suspend (void);
3380extern void discard_tty_input P_ ((void)); 3380extern void discard_tty_input (void);
3381extern void init_sys_modes P_ ((struct tty_display_info *)); 3381extern void init_sys_modes (struct tty_display_info *);
3382extern void reset_sys_modes P_ ((struct tty_display_info *)); 3382extern void reset_sys_modes (struct tty_display_info *);
3383extern void init_all_sys_modes P_ ((void)); 3383extern void init_all_sys_modes (void);
3384extern void reset_all_sys_modes P_ ((void)); 3384extern void reset_all_sys_modes (void);
3385extern void wait_for_termination P_ ((int)); 3385extern void wait_for_termination (int);
3386extern void flush_pending_output P_ ((int)); 3386extern void flush_pending_output (int);
3387extern void child_setup_tty P_ ((int)); 3387extern void child_setup_tty (int);
3388extern void setup_pty P_ ((int)); 3388extern void setup_pty (int);
3389extern int set_window_size P_ ((int, int, int)); 3389extern int set_window_size (int, int, int);
3390extern void create_process P_ ((Lisp_Object, char **, Lisp_Object)); 3390extern void create_process (Lisp_Object, char **, Lisp_Object);
3391extern int emacs_open P_ ((const char *, int, int)); 3391extern int emacs_open (const char *, int, int);
3392extern int emacs_close P_ ((int)); 3392extern int emacs_close (int);
3393extern int emacs_read P_ ((int, char *, unsigned int)); 3393extern int emacs_read (int, char *, unsigned int);
3394extern int emacs_write P_ ((int, const char *, unsigned int)); 3394extern int emacs_write (int, const char *, unsigned int);
3395 3395
3396/* Defined in filelock.c */ 3396/* Defined in filelock.c */
3397EXFUN (Funlock_buffer, 0); 3397EXFUN (Funlock_buffer, 0);
3398EXFUN (Ffile_locked_p, 1); 3398EXFUN (Ffile_locked_p, 1);
3399extern void unlock_all_files P_ ((void)); 3399extern void unlock_all_files (void);
3400extern void lock_file P_ ((Lisp_Object)); 3400extern void lock_file (Lisp_Object);
3401extern void unlock_file P_ ((Lisp_Object)); 3401extern void unlock_file (Lisp_Object);
3402extern void unlock_buffer P_ ((struct buffer *)); 3402extern void unlock_buffer (struct buffer *);
3403extern void syms_of_filelock P_ ((void)); 3403extern void syms_of_filelock (void);
3404extern void init_filelock P_ ((void)); 3404extern void init_filelock (void);
3405 3405
3406/* Defined in sound.c */ 3406/* Defined in sound.c */
3407extern void syms_of_sound P_ ((void)); 3407extern void syms_of_sound (void);
3408extern void init_sound P_ ((void)); 3408extern void init_sound (void);
3409 3409
3410/* Defined in category.c */ 3410/* Defined in category.c */
3411extern void init_category_once P_ ((void)); 3411extern void init_category_once (void);
3412extern Lisp_Object char_category_set P_ ((int)); 3412extern Lisp_Object char_category_set (int);
3413extern void syms_of_category P_ ((void)); 3413extern void syms_of_category (void);
3414 3414
3415/* Defined in ccl.c */ 3415/* Defined in ccl.c */
3416extern void syms_of_ccl P_ ((void)); 3416extern void syms_of_ccl (void);
3417 3417
3418/* Defined in dired.c */ 3418/* Defined in dired.c */
3419EXFUN (Ffile_attributes, 2); 3419EXFUN (Ffile_attributes, 2);
3420extern void syms_of_dired P_ ((void)); 3420extern void syms_of_dired (void);
3421extern Lisp_Object directory_files_internal P_ ((Lisp_Object, Lisp_Object, 3421extern Lisp_Object directory_files_internal (Lisp_Object, Lisp_Object,
3422 Lisp_Object, Lisp_Object, 3422 Lisp_Object, Lisp_Object,
3423 int, Lisp_Object)); 3423 int, Lisp_Object);
3424 3424
3425/* Defined in term.c */ 3425/* Defined in term.c */
3426extern void syms_of_term P_ ((void)); 3426extern void syms_of_term (void);
3427extern void fatal P_ ((const char *msgid, ...)) NO_RETURN; 3427extern void fatal (const char *msgid, ...) NO_RETURN;
3428 3428
3429/* Defined in terminal.c */ 3429/* Defined in terminal.c */
3430EXFUN (Fframe_terminal, 1); 3430EXFUN (Fframe_terminal, 1);
3431EXFUN (Fdelete_terminal, 2); 3431EXFUN (Fdelete_terminal, 2);
3432extern void syms_of_terminal P_ ((void)); 3432extern void syms_of_terminal (void);
3433 3433
3434/* Defined in font.c */ 3434/* Defined in font.c */
3435extern void syms_of_font P_ ((void)); 3435extern void syms_of_font (void);
3436extern void init_font P_ ((void)); 3436extern void init_font (void);
3437 3437
3438#ifdef HAVE_WINDOW_SYSTEM 3438#ifdef HAVE_WINDOW_SYSTEM
3439/* Defined in fontset.c */ 3439/* Defined in fontset.c */
3440extern void syms_of_fontset P_ ((void)); 3440extern void syms_of_fontset (void);
3441EXFUN (Fset_fontset_font, 5); 3441EXFUN (Fset_fontset_font, 5);
3442EXFUN (Fnew_fontset, 2); 3442EXFUN (Fnew_fontset, 2);
3443 3443
@@ -3450,26 +3450,26 @@ EXFUN (Fx_focus_frame, 1);
3450/* Defined in xfaces.c */ 3450/* Defined in xfaces.c */
3451EXFUN (Fclear_face_cache, 1); 3451EXFUN (Fclear_face_cache, 1);
3452EXFUN (Fx_load_color_file, 1); 3452EXFUN (Fx_load_color_file, 1);
3453extern void syms_of_xfaces P_ ((void)); 3453extern void syms_of_xfaces (void);
3454 3454
3455#ifndef HAVE_GETLOADAVG 3455#ifndef HAVE_GETLOADAVG
3456/* Defined in getloadavg.c */ 3456/* Defined in getloadavg.c */
3457extern int getloadavg P_ ((double *, int)); 3457extern int getloadavg (double *, int);
3458#endif 3458#endif
3459 3459
3460#ifdef HAVE_X_WINDOWS 3460#ifdef HAVE_X_WINDOWS
3461/* Defined in xfns.c */ 3461/* Defined in xfns.c */
3462extern void syms_of_xfns P_ ((void)); 3462extern void syms_of_xfns (void);
3463 3463
3464/* Defined in xsmfns.c */ 3464/* Defined in xsmfns.c */
3465extern void syms_of_xsmfns P_ ((void)); 3465extern void syms_of_xsmfns (void);
3466 3466
3467/* Defined in xselect.c */ 3467/* Defined in xselect.c */
3468EXFUN (Fx_send_client_event, 6); 3468EXFUN (Fx_send_client_event, 6);
3469extern void syms_of_xselect P_ ((void)); 3469extern void syms_of_xselect (void);
3470 3470
3471/* Defined in xterm.c */ 3471/* Defined in xterm.c */
3472extern void syms_of_xterm P_ ((void)); 3472extern void syms_of_xterm (void);
3473#endif /* HAVE_X_WINDOWS */ 3473#endif /* HAVE_X_WINDOWS */
3474 3474
3475#ifdef MSDOS 3475#ifdef MSDOS
@@ -3479,14 +3479,14 @@ EXFUN (Fmsdos_downcase_filename, 1);
3479 3479
3480#ifdef HAVE_MENUS 3480#ifdef HAVE_MENUS
3481/* Defined in (x|w32)fns.c, nsfns.m... */ 3481/* Defined in (x|w32)fns.c, nsfns.m... */
3482extern int have_menus_p P_ ((void)); 3482extern int have_menus_p (void);
3483#endif 3483#endif
3484 3484
3485#ifdef HAVE_DBUS 3485#ifdef HAVE_DBUS
3486/* Defined in dbusbind.c */ 3486/* Defined in dbusbind.c */
3487int xd_pending_messages P_ ((void)); 3487int xd_pending_messages (void);
3488void xd_read_queued_messages P_ ((void)); 3488void xd_read_queued_messages (void);
3489void syms_of_dbusbind P_ ((void)); 3489void syms_of_dbusbind (void);
3490#endif 3490#endif
3491 3491
3492/* Nonzero means Emacs has already been initialized. 3492/* Nonzero means Emacs has already been initialized.
@@ -3495,16 +3495,16 @@ extern int initialized;
3495 3495
3496extern int immediate_quit; /* Nonzero means ^G can quit instantly */ 3496extern int immediate_quit; /* Nonzero means ^G can quit instantly */
3497 3497
3498extern POINTER_TYPE *xmalloc P_ ((size_t)); 3498extern POINTER_TYPE *xmalloc (size_t);
3499extern POINTER_TYPE *xrealloc P_ ((POINTER_TYPE *, size_t)); 3499extern POINTER_TYPE *xrealloc (POINTER_TYPE *, size_t);
3500extern void xfree P_ ((POINTER_TYPE *)); 3500extern void xfree (POINTER_TYPE *);
3501 3501
3502extern char *xstrdup P_ ((const char *)); 3502extern char *xstrdup (const char *);
3503 3503
3504extern char *egetenv P_ ((char *)); 3504extern char *egetenv (char *);
3505 3505
3506/* Set up the name of the machine we're running on. */ 3506/* Set up the name of the machine we're running on. */
3507extern void init_system_name P_ ((void)); 3507extern void init_system_name (void);
3508 3508
3509/* Some systems (e.g., NT) use a different path separator than Unix, 3509/* Some systems (e.g., NT) use a different path separator than Unix,
3510 in addition to a device separator. Set the path separator 3510 in addition to a device separator. Set the path separator
diff --git a/src/macros.h b/src/macros.h
index 00b7b5ba421..761b5fdf514 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -41,16 +41,16 @@ extern Lisp_Object executing_kbd_macro;
41 41
42/* Finish defining the current keyboard macro. */ 42/* Finish defining the current keyboard macro. */
43 43
44extern void end_kbd_macro P_ ((void)); 44extern void end_kbd_macro (void);
45 45
46/* Declare that all chars stored so far in the kbd macro being defined 46/* Declare that all chars stored so far in the kbd macro being defined
47 really belong to it. This is done in between editor commands. */ 47 really belong to it. This is done in between editor commands. */
48 48
49extern void finalize_kbd_macro_chars P_ ((void)); 49extern void finalize_kbd_macro_chars (void);
50 50
51/* Store a character into kbd macro being defined */ 51/* Store a character into kbd macro being defined */
52 52
53extern void store_kbd_macro_char P_ ((Lisp_Object)); 53extern void store_kbd_macro_char (Lisp_Object);
54 54
55/* arch-tag: 8edb7088-682f-4d1f-a4d9-0fbb7284234e 55/* arch-tag: 8edb7088-682f-4d1f-a4d9-0fbb7284234e
56 (do not change this comment) */ 56 (do not change this comment) */
diff --git a/src/md5.h b/src/md5.h
index a23dbd089ba..cf9566b864b 100644
--- a/src/md5.h
+++ b/src/md5.h
@@ -97,21 +97,21 @@ struct md5_ctx
97 97
98/* Initialize structure containing state of computation. 98/* Initialize structure containing state of computation.
99 (RFC 1321, 3.3: Step 3) */ 99 (RFC 1321, 3.3: Step 3) */
100extern void md5_init_ctx __P ((struct md5_ctx *ctx)); 100extern void md5_init_ctx (struct md5_ctx *ctx);
101 101
102/* Starting with the result of former calls of this function (or the 102/* Starting with the result of former calls of this function (or the
103 initialization function update the context for the next LEN bytes 103 initialization function update the context for the next LEN bytes
104 starting at BUFFER. 104 starting at BUFFER.
105 It is necessary that LEN is a multiple of 64!!! */ 105 It is necessary that LEN is a multiple of 64!!! */
106extern void md5_process_block __P ((const void *buffer, size_t len, 106extern void md5_process_block (const void *buffer, size_t len,
107 struct md5_ctx *ctx)); 107 struct md5_ctx *ctx);
108 108
109/* Starting with the result of former calls of this function (or the 109/* Starting with the result of former calls of this function (or the
110 initialization function update the context for the next LEN bytes 110 initialization function update the context for the next LEN bytes
111 starting at BUFFER. 111 starting at BUFFER.
112 It is NOT required that LEN is a multiple of 64. */ 112 It is NOT required that LEN is a multiple of 64. */
113extern void md5_process_bytes __P ((const void *buffer, size_t len, 113extern void md5_process_bytes (const void *buffer, size_t len,
114 struct md5_ctx *ctx)); 114 struct md5_ctx *ctx);
115 115
116/* Process the remaining bytes in the buffer and put result from CTX 116/* Process the remaining bytes in the buffer and put result from CTX
117 in first 16 bytes following RESBUF. The result is always in little 117 in first 16 bytes following RESBUF. The result is always in little
@@ -120,7 +120,7 @@ extern void md5_process_bytes __P ((const void *buffer, size_t len,
120 120
121 IMPORTANT: On some systems it is required that RESBUF is correctly 121 IMPORTANT: On some systems it is required that RESBUF is correctly
122 aligned for a 32 bits value. */ 122 aligned for a 32 bits value. */
123extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf)); 123extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
124 124
125 125
126/* Put result from CTX in first 16 bytes following RESBUF. The result is 126/* Put result from CTX in first 16 bytes following RESBUF. The result is
@@ -129,20 +129,20 @@ extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf));
129 129
130 IMPORTANT: On some systems it is required that RESBUF is correctly 130 IMPORTANT: On some systems it is required that RESBUF is correctly
131 aligned for a 32 bits value. */ 131 aligned for a 32 bits value. */
132extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf)); 132extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
133 133
134 134
135/* Compute MD5 message digest for bytes read from STREAM. The 135/* Compute MD5 message digest for bytes read from STREAM. The
136 resulting message digest number will be written into the 16 bytes 136 resulting message digest number will be written into the 16 bytes
137 beginning at RESBLOCK. */ 137 beginning at RESBLOCK. */
138extern int md5_stream __P ((FILE *stream, void *resblock)); 138extern int md5_stream (FILE *stream, void *resblock);
139 139
140/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The 140/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
141 result is always in little endian byte order, so that a byte-wise 141 result is always in little endian byte order, so that a byte-wise
142 output yields to the wanted ASCII representation of the message 142 output yields to the wanted ASCII representation of the message
143 digest. */ 143 digest. */
144extern void *md5_buffer __P ((const char *buffer, size_t len, 144extern void *md5_buffer (const char *buffer, size_t len,
145 void *resblock)); 145 void *resblock);
146 146
147#endif /* md5.h */ 147#endif /* md5.h */
148 148
diff --git a/src/menu.h b/src/menu.h
index 5f3c3d24e22..eff6f5ddf70 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -21,17 +21,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21 21
22extern Lisp_Object Vmenu_updating_frame; 22extern Lisp_Object Vmenu_updating_frame;
23 23
24extern void init_menu_items P_ ((void)); 24extern void init_menu_items (void);
25extern void finish_menu_items P_ ((void)); 25extern void finish_menu_items (void);
26extern void discard_menu_items P_ ((void)); 26extern void discard_menu_items (void);
27extern void save_menu_items P_ ((void)); 27extern void save_menu_items (void);
28extern int parse_single_submenu P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 28extern int parse_single_submenu (Lisp_Object, Lisp_Object, Lisp_Object);
29extern void list_of_panes P_ ((Lisp_Object)); 29extern void list_of_panes (Lisp_Object);
30#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI) 30#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI)
31extern void free_menubar_widget_value_tree P_ ((widget_value *)); 31extern void free_menubar_widget_value_tree (widget_value *);
32extern void update_submenu_strings P_ ((widget_value *)); 32extern void update_submenu_strings (widget_value *);
33extern void find_and_call_menu_selection P_ ((FRAME_PTR, int, 33extern void find_and_call_menu_selection (FRAME_PTR, int,
34 Lisp_Object, void *)); 34 Lisp_Object, void *);
35#endif 35#endif
36 36
37#ifdef HAVE_X_WINDOWS 37#ifdef HAVE_X_WINDOWS
diff --git a/src/msdos.h b/src/msdos.h
index bf44d3a9aa4..3ace5123227 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -70,9 +70,9 @@ struct window;
70 70
71/* Defined in xfns.c; emulated on msdos.c */ 71/* Defined in xfns.c; emulated on msdos.c */
72 72
73extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); 73extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
74extern int x_pixel_width P_ ((struct frame *)); 74extern int x_pixel_width (struct frame *);
75extern int x_pixel_height P_ ((struct frame *)); 75extern int x_pixel_height (struct frame *);
76 76
77#define XFreeGC (void) 77#define XFreeGC (void)
78#define x_destroy_bitmap(p1,p2) 78#define x_destroy_bitmap(p1,p2)
diff --git a/src/nsterm.h b/src/nsterm.h
index 5b24eb6f289..bc0e6e286c2 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -760,8 +760,8 @@ extern unsigned long ns_get_pixel (void *img, int x, int y);
760extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); 760extern void ns_put_pixel (void *img, int x, int y, unsigned long argb);
761extern void ns_set_alpha (void *img, int x, int y, unsigned char a); 761extern void ns_set_alpha (void *img, int x, int y, unsigned char a);
762 762
763extern int x_display_pixel_height P_ ((struct ns_display_info *)); 763extern int x_display_pixel_height (struct ns_display_info *);
764extern int x_display_pixel_width P_ ((struct ns_display_info *)); 764extern int x_display_pixel_width (struct ns_display_info *);
765 765
766/* This in nsterm.m */ 766/* This in nsterm.m */
767extern unsigned long ns_get_rgb_color (struct frame *f, 767extern unsigned long ns_get_rgb_color (struct frame *f,
diff --git a/src/puresize.h b/src/puresize.h
index 4e97e3731b7..682e8926135 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -72,7 +72,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
72 { if (PURE_P (obj)) \ 72 { if (PURE_P (obj)) \
73 pure_write_error (); } 73 pure_write_error (); }
74 74
75extern void pure_write_error P_ ((void)) NO_RETURN; 75extern void pure_write_error (void) NO_RETURN;
76 76
77/* Define PURE_P. */ 77/* Define PURE_P. */
78 78
diff --git a/src/region-cache.h b/src/region-cache.h
index 4a717d66081..e2972f2ea0a 100644
--- a/src/region-cache.h
+++ b/src/region-cache.h
@@ -61,17 +61,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
61 61
62 62
63/* Allocate, initialize and return a new, empty region cache. */ 63/* Allocate, initialize and return a new, empty region cache. */
64struct region_cache *new_region_cache P_ ((void)); 64struct region_cache *new_region_cache (void);
65 65
66/* Free a region cache. */ 66/* Free a region cache. */
67void free_region_cache P_ ((struct region_cache *)); 67void free_region_cache (struct region_cache *);
68 68
69/* Assert that the region of BUF between START and END (absolute 69/* Assert that the region of BUF between START and END (absolute
70 buffer positions) is "known," for the purposes of CACHE (e.g. "has 70 buffer positions) is "known," for the purposes of CACHE (e.g. "has
71 no newlines", in the case of the line cache). */ 71 no newlines", in the case of the line cache). */
72extern void know_region_cache P_ ((struct buffer *BUF, 72extern void know_region_cache (struct buffer *BUF,
73 struct region_cache *CACHE, 73 struct region_cache *CACHE,
74 int START, int END)); 74 int START, int END);
75 75
76/* Indicate that a section of BUF has changed, to invalidate CACHE. 76/* Indicate that a section of BUF has changed, to invalidate CACHE.
77 HEAD is the number of chars unchanged at the beginning of the buffer. 77 HEAD is the number of chars unchanged at the beginning of the buffer.
@@ -81,9 +81,9 @@ extern void know_region_cache P_ ((struct buffer *BUF,
81 (This way of specifying regions makes more sense than absolute 81 (This way of specifying regions makes more sense than absolute
82 buffer positions in the presence of insertions and deletions; the 82 buffer positions in the presence of insertions and deletions; the
83 args to pass are the same before and after such an operation.) */ 83 args to pass are the same before and after such an operation.) */
84extern void invalidate_region_cache P_ ((struct buffer *BUF, 84extern void invalidate_region_cache (struct buffer *BUF,
85 struct region_cache *CACHE, 85 struct region_cache *CACHE,
86 int HEAD, int TAIL)); 86 int HEAD, int TAIL);
87 87
88/* The scanning functions. 88/* The scanning functions.
89 89
@@ -97,18 +97,18 @@ extern void invalidate_region_cache P_ ((struct buffer *BUF,
97/* Return true if the text immediately after POS in BUF is known, for 97/* Return true if the text immediately after POS in BUF is known, for
98 the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest 98 the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest
99 position after POS where the knownness changes. */ 99 position after POS where the knownness changes. */
100extern int region_cache_forward P_ ((struct buffer *BUF, 100extern int region_cache_forward (struct buffer *BUF,
101 struct region_cache *CACHE, 101 struct region_cache *CACHE,
102 int POS, 102 int POS,
103 int *NEXT)); 103 int *NEXT);
104 104
105/* Return true if the text immediately before POS in BUF is known, for 105/* Return true if the text immediately before POS in BUF is known, for
106 the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest 106 the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest
107 position before POS where the knownness changes. */ 107 position before POS where the knownness changes. */
108extern int region_cache_backward P_ ((struct buffer *BUF, 108extern int region_cache_backward (struct buffer *BUF,
109 struct region_cache *CACHE, 109 struct region_cache *CACHE,
110 int POS, 110 int POS,
111 int *NEXT)); 111 int *NEXT);
112 112
113/* arch-tag: 70f79125-ef22-4f58-9aec-a48ca2791435 113/* arch-tag: 70f79125-ef22-4f58-9aec-a48ca2791435
114 (do not change this comment) */ 114 (do not change this comment) */
diff --git a/src/syntax.h b/src/syntax.h
index ec8fab0166c..9eaf553f2e5 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20 20
21extern Lisp_Object Qsyntax_table_p; 21extern Lisp_Object Qsyntax_table_p;
22extern void update_syntax_table P_ ((int, int, int, Lisp_Object)); 22extern void update_syntax_table (int, int, int, Lisp_Object);
23 23
24/* The standard syntax table is stored where it will automatically 24/* The standard syntax table is stored where it will automatically
25 be used in all new buffers. */ 25 be used in all new buffers. */
@@ -346,9 +346,9 @@ struct gl_state_s
346 346
347extern struct gl_state_s gl_state; 347extern struct gl_state_s gl_state;
348extern int parse_sexp_lookup_properties; 348extern int parse_sexp_lookup_properties;
349extern INTERVAL interval_of P_ ((int, Lisp_Object)); 349extern INTERVAL interval_of (int, Lisp_Object);
350 350
351extern int scan_words P_ ((int, int)); 351extern int scan_words (int, int);
352 352
353/* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0 353/* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0
354 (do not change this comment) */ 354 (do not change this comment) */
diff --git a/src/syssignal.h b/src/syssignal.h
index 71a69dfa413..35252c4b958 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -17,7 +17,7 @@ GNU General Public License for more details.
17You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20extern void init_signals P_ ((void)); 20extern void init_signals (void);
21 21
22#if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS) 22#if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS)
23#include <pthread.h> 23#include <pthread.h>
@@ -78,10 +78,10 @@ extern sigset_t sys_sigmask ();
78 appears to be assumed in the source, for example data.c:arith_error. */ 78 appears to be assumed in the source, for example data.c:arith_error. */
79typedef RETSIGTYPE (*signal_handler_t) (/*int*/); 79typedef RETSIGTYPE (*signal_handler_t) (/*int*/);
80 80
81signal_handler_t sys_signal P_ ((int signal_number, signal_handler_t action)); 81signal_handler_t sys_signal (int signal_number, signal_handler_t action);
82sigset_t sys_sigblock P_ ((sigset_t new_mask)); 82sigset_t sys_sigblock (sigset_t new_mask);
83sigset_t sys_sigunblock P_ ((sigset_t new_mask)); 83sigset_t sys_sigunblock (sigset_t new_mask);
84sigset_t sys_sigsetmask P_ ((sigset_t new_mask)); 84sigset_t sys_sigsetmask (sigset_t new_mask);
85 85
86#define sys_sigdel(MASK,SIG) sigdelset (&MASK,SIG) 86#define sys_sigdel(MASK,SIG) sigdelset (&MASK,SIG)
87 87
diff --git a/src/systime.h b/src/systime.h
index 2f8d35805a4..bd789e9bd32 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -136,17 +136,17 @@ extern time_t timezone;
136#define EMACS_SET_SECS_USECS(time, secs, usecs) \ 136#define EMACS_SET_SECS_USECS(time, secs, usecs) \
137 (EMACS_SET_SECS (time, secs), EMACS_SET_USECS (time, usecs)) 137 (EMACS_SET_SECS (time, secs), EMACS_SET_USECS (time, usecs))
138 138
139extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME)); 139extern int set_file_times (const char *, EMACS_TIME, EMACS_TIME);
140 140
141/* defined in keyboard.c */ 141/* defined in keyboard.c */
142extern void set_waiting_for_input __P ((EMACS_TIME *)); 142extern void set_waiting_for_input (EMACS_TIME *);
143 143
144/* When lisp.h is not included Lisp_Object is not defined (this can 144/* When lisp.h is not included Lisp_Object is not defined (this can
145 happen when this files is used outside the src directory). 145 happen when this files is used outside the src directory).
146 Use GCPRO1 to determine if lisp.h was included. */ 146 Use GCPRO1 to determine if lisp.h was included. */
147#ifdef GCPRO1 147#ifdef GCPRO1
148/* defined in dired.c */ 148/* defined in dired.c */
149extern Lisp_Object make_time __P ((time_t)); 149extern Lisp_Object make_time (time_t);
150#endif 150#endif
151 151
152/* Compare times T1 and T2. Value is 0 if T1 and T2 are the same. 152/* Compare times T1 and T2. Value is 0 if T1 and T2 are the same.
diff --git a/src/termhooks.h b/src/termhooks.h
index 2b4011627c8..9af8a6c4f72 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -39,7 +39,7 @@ enum scroll_bar_part {
39/* If the value of the frame parameter changed, whis hook is called. 39/* If the value of the frame parameter changed, whis hook is called.
40 For example, if going from fullscreen to not fullscreen this hook 40 For example, if going from fullscreen to not fullscreen this hook
41 may do something OS dependent, like extended window manager hints on X11. */ 41 may do something OS dependent, like extended window manager hints on X11. */
42extern void (*fullscreen_hook) P_ ((struct frame *f)); 42extern void (*fullscreen_hook) (struct frame *f);
43 43
44 44
45/* Input queue declarations and hooks. */ 45/* Input queue declarations and hooks. */
@@ -415,28 +415,28 @@ struct terminal
415 415
416 /* Text display hooks. */ 416 /* Text display hooks. */
417 417
418 void (*cursor_to_hook) P_ ((struct frame *f, int vpos, int hpos)); 418 void (*cursor_to_hook) (struct frame *f, int vpos, int hpos);
419 void (*raw_cursor_to_hook) P_ ((struct frame *, int, int)); 419 void (*raw_cursor_to_hook) (struct frame *, int, int);
420 420
421 void (*clear_to_end_hook) P_ ((struct frame *)); 421 void (*clear_to_end_hook) (struct frame *);
422 void (*clear_frame_hook) P_ ((struct frame *)); 422 void (*clear_frame_hook) (struct frame *);
423 void (*clear_end_of_line_hook) P_ ((struct frame *, int)); 423 void (*clear_end_of_line_hook) (struct frame *, int);
424 424
425 void (*ins_del_lines_hook) P_ ((struct frame *f, int, int)); 425 void (*ins_del_lines_hook) (struct frame *f, int, int);
426 426
427 void (*insert_glyphs_hook) P_ ((struct frame *f, struct glyph *s, int n)); 427 void (*insert_glyphs_hook) (struct frame *f, struct glyph *s, int n);
428 void (*write_glyphs_hook) P_ ((struct frame *f, struct glyph *s, int n)); 428 void (*write_glyphs_hook) (struct frame *f, struct glyph *s, int n);
429 void (*delete_glyphs_hook) P_ ((struct frame *, int)); 429 void (*delete_glyphs_hook) (struct frame *, int);
430 430
431 void (*ring_bell_hook) P_ ((struct frame *f)); 431 void (*ring_bell_hook) (struct frame *f);
432 void (*toggle_invisible_pointer_hook) P_ ((struct frame *f, int invisible)); 432 void (*toggle_invisible_pointer_hook) (struct frame *f, int invisible);
433 433
434 void (*reset_terminal_modes_hook) P_ ((struct terminal *)); 434 void (*reset_terminal_modes_hook) (struct terminal *);
435 void (*set_terminal_modes_hook) P_ ((struct terminal *)); 435 void (*set_terminal_modes_hook) (struct terminal *);
436 436
437 void (*update_begin_hook) P_ ((struct frame *)); 437 void (*update_begin_hook) (struct frame *);
438 void (*update_end_hook) P_ ((struct frame *)); 438 void (*update_end_hook) (struct frame *);
439 void (*set_terminal_window_hook) P_ ((struct frame *, int)); 439 void (*set_terminal_window_hook) (struct frame *, int);
440 440
441 /* Multi-frame and mouse support hooks. */ 441 /* Multi-frame and mouse support hooks. */
442 442
@@ -458,12 +458,12 @@ struct terminal
458 458
459 This should clear mouse_moved until the next motion 459 This should clear mouse_moved until the next motion
460 event arrives. */ 460 event arrives. */
461 void (*mouse_position_hook) P_ ((struct frame **f, int, 461 void (*mouse_position_hook) (struct frame **f, int,
462 Lisp_Object *bar_window, 462 Lisp_Object *bar_window,
463 enum scroll_bar_part *part, 463 enum scroll_bar_part *part,
464 Lisp_Object *x, 464 Lisp_Object *x,
465 Lisp_Object *y, 465 Lisp_Object *y,
466 unsigned long *time)); 466 unsigned long *time);
467 467
468 /* The window system handling code should set this if the mouse has 468 /* The window system handling code should set this if the mouse has
469 moved since the last call to the mouse_position_hook. Calling that 469 moved since the last call to the mouse_position_hook. Calling that
@@ -473,7 +473,7 @@ struct terminal
473 /* When a frame's focus redirection is changed, this hook tells the 473 /* When a frame's focus redirection is changed, this hook tells the
474 window system code to re-decide where to put the highlight. Under 474 window system code to re-decide where to put the highlight. Under
475 X, this means that Emacs lies about where the focus is. */ 475 X, this means that Emacs lies about where the focus is. */
476 void (*frame_rehighlight_hook) P_ ((struct frame *)); 476 void (*frame_rehighlight_hook) (struct frame *);
477 477
478 /* If we're displaying frames using a window system that can stack 478 /* If we're displaying frames using a window system that can stack
479 frames on top of each other, this hook allows you to bring a frame 479 frames on top of each other, this hook allows you to bring a frame
@@ -485,12 +485,12 @@ struct terminal
485 If RAISE is non-zero, F is brought to the front, before all other 485 If RAISE is non-zero, F is brought to the front, before all other
486 windows. If RAISE is zero, F is sent to the back, behind all other 486 windows. If RAISE is zero, F is sent to the back, behind all other
487 windows. */ 487 windows. */
488 void (*frame_raise_lower_hook) P_ ((struct frame *f, int raise)); 488 void (*frame_raise_lower_hook) (struct frame *f, int raise);
489 489
490 /* If the value of the frame parameter changed, whis hook is called. 490 /* If the value of the frame parameter changed, whis hook is called.
491 For example, if going from fullscreen to not fullscreen this hook 491 For example, if going from fullscreen to not fullscreen this hook
492 may do something OS dependent, like extended window manager hints on X11. */ 492 may do something OS dependent, like extended window manager hints on X11. */
493 void (*fullscreen_hook) P_ ((struct frame *f)); 493 void (*fullscreen_hook) (struct frame *f);
494 494
495 495
496 /* Scroll bar hooks. */ 496 /* Scroll bar hooks. */
@@ -520,9 +520,9 @@ struct terminal
520 indicate that we are displaying PORTION characters out of a total 520 indicate that we are displaying PORTION characters out of a total
521 of WHOLE characters, starting at POSITION. If WINDOW doesn't yet 521 of WHOLE characters, starting at POSITION. If WINDOW doesn't yet
522 have a scroll bar, create one for it. */ 522 have a scroll bar, create one for it. */
523 void (*set_vertical_scroll_bar_hook) P_ ((struct window *window, 523 void (*set_vertical_scroll_bar_hook) (struct window *window,
524 int portion, int whole, 524 int portion, int whole,
525 int position)); 525 int position);
526 526
527 527
528 /* The following three hooks are used when we're doing a thorough 528 /* The following three hooks are used when we're doing a thorough
@@ -545,11 +545,11 @@ struct terminal
545 If non-zero, this hook should be safe to apply to any frame, 545 If non-zero, this hook should be safe to apply to any frame,
546 whether or not it can support scroll bars, and whether or not it is 546 whether or not it can support scroll bars, and whether or not it is
547 currently displaying them. */ 547 currently displaying them. */
548 void (*condemn_scroll_bars_hook) P_ ((struct frame *frame)); 548 void (*condemn_scroll_bars_hook) (struct frame *frame);
549 549
550 /* Unmark WINDOW's scroll bar for deletion in this judgement cycle. 550 /* Unmark WINDOW's scroll bar for deletion in this judgement cycle.
551 Note that it's okay to redeem a scroll bar that is not condemned. */ 551 Note that it's okay to redeem a scroll bar that is not condemned. */
552 void (*redeem_scroll_bar_hook) P_ ((struct window *window)); 552 void (*redeem_scroll_bar_hook) (struct window *window);
553 553
554 /* Remove all scroll bars on FRAME that haven't been saved since the 554 /* Remove all scroll bars on FRAME that haven't been saved since the
555 last call to `*condemn_scroll_bars_hook'. 555 last call to `*condemn_scroll_bars_hook'.
@@ -562,7 +562,7 @@ struct terminal
562 If non-zero, this hook should be safe to apply to any frame, 562 If non-zero, this hook should be safe to apply to any frame,
563 whether or not it can support scroll bars, and whether or not it is 563 whether or not it can support scroll bars, and whether or not it is
564 currently displaying them. */ 564 currently displaying them. */
565 void (*judge_scroll_bars_hook) P_ ((struct frame *FRAME)); 565 void (*judge_scroll_bars_hook) (struct frame *FRAME);
566 566
567 567
568 /* Called to read input events. 568 /* Called to read input events.
@@ -584,17 +584,17 @@ struct terminal
584 Therefore, in most cases EXPECTED should be simply ignored. 584 Therefore, in most cases EXPECTED should be simply ignored.
585 585
586 XXX This documentation needs to be updated. */ 586 XXX This documentation needs to be updated. */
587 int (*read_socket_hook) P_ ((struct terminal *terminal, 587 int (*read_socket_hook) (struct terminal *terminal,
588 int expected, 588 int expected,
589 struct input_event *hold_quit)); 589 struct input_event *hold_quit);
590 590
591 /* Called when a frame's display becomes entirely up to date. */ 591 /* Called when a frame's display becomes entirely up to date. */
592 void (*frame_up_to_date_hook) P_ ((struct frame *)); 592 void (*frame_up_to_date_hook) (struct frame *);
593 593
594 594
595 /* Called to delete the device-specific portions of a frame that is 595 /* Called to delete the device-specific portions of a frame that is
596 on this terminal device. */ 596 on this terminal device. */
597 void (*delete_frame_hook) P_ ((struct frame *)); 597 void (*delete_frame_hook) (struct frame *);
598 598
599 /* Called after the last frame on this terminal is deleted, or when 599 /* Called after the last frame on this terminal is deleted, or when
600 the display device was closed (hangup). 600 the display device was closed (hangup).
@@ -606,7 +606,7 @@ struct terminal
606 on the terminal. delete_frame ensures that there are no live 606 on the terminal. delete_frame ensures that there are no live
607 frames on the terminal when it calls this hook, so infinite 607 frames on the terminal when it calls this hook, so infinite
608 recursion is prevented. */ 608 recursion is prevented. */
609 void (*delete_terminal_hook) P_ ((struct terminal *)); 609 void (*delete_terminal_hook) (struct terminal *);
610}; 610};
611 611
612 612
@@ -647,10 +647,10 @@ extern struct terminal *terminal_list;
647/* Return true if the terminal device is not suspended. */ 647/* Return true if the terminal device is not suspended. */
648#define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input) 648#define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input)
649 649
650extern Lisp_Object get_terminal_param P_ ((struct terminal *, Lisp_Object)); 650extern Lisp_Object get_terminal_param (struct terminal *, Lisp_Object);
651extern struct terminal *get_terminal P_ ((Lisp_Object terminal, int)); 651extern struct terminal *get_terminal (Lisp_Object terminal, int);
652extern struct terminal *create_terminal P_ ((void)); 652extern struct terminal *create_terminal (void);
653extern void delete_terminal P_ ((struct terminal *)); 653extern void delete_terminal (struct terminal *);
654 654
655/* The initial terminal device, created by initial_term_init. */ 655/* The initial terminal device, created by initial_term_init. */
656extern struct terminal *initial_terminal; 656extern struct terminal *initial_terminal;
diff --git a/src/w32term.h b/src/w32term.h
index ea5f420a7dc..b5b3d4451f2 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -228,14 +228,14 @@ extern Lisp_Object Vx_pixel_size_width_font_regexp;
228 228
229struct w32_display_info *x_display_info_for_name (); 229struct w32_display_info *x_display_info_for_name ();
230 230
231Lisp_Object display_x_get_resource P_ ((struct w32_display_info *, 231Lisp_Object display_x_get_resource (struct w32_display_info *,
232 Lisp_Object, Lisp_Object, 232 Lisp_Object, Lisp_Object,
233 Lisp_Object, Lisp_Object)); 233 Lisp_Object, Lisp_Object);
234 234
235extern struct w32_display_info *w32_term_init (); 235extern struct w32_display_info *w32_term_init ();
236 236
237extern int x_display_pixel_height P_ ((struct w32_display_info *)); 237extern int x_display_pixel_height (struct w32_display_info *);
238extern int x_display_pixel_width P_ ((struct w32_display_info *)); 238extern int x_display_pixel_width (struct w32_display_info *);
239 239
240 240
241#define PIX_TYPE COLORREF 241#define PIX_TYPE COLORREF
diff --git a/src/widget.h b/src/widget.h
index 00c08914059..a1ddeb2e94f 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -94,8 +94,8 @@ extern WidgetClass emacsFrameClass;
94extern struct _DisplayContext* display_context; 94extern struct _DisplayContext* display_context;
95 95
96/* Special entrypoints */ 96/* Special entrypoints */
97void EmacsFrameSetCharSize P_ ((Widget, int, int)); 97void EmacsFrameSetCharSize (Widget, int, int);
98void widget_store_internal_border P_ ((Widget widget)); 98void widget_store_internal_border (Widget widget);
99 99
100#endif /* _EmacsFrame_h */ 100#endif /* _EmacsFrame_h */
101 101
diff --git a/src/window.h b/src/window.h
index 17332f0af20..e9529487b14 100644
--- a/src/window.h
+++ b/src/window.h
@@ -785,25 +785,25 @@ EXFUN (Fwindow_vscroll, 2);
785EXFUN (Fset_window_margins, 3); 785EXFUN (Fset_window_margins, 3);
786EXFUN (Fwindow_live_p, 1); 786EXFUN (Fwindow_live_p, 1);
787EXFUN (Fset_window_point, 2); 787EXFUN (Fset_window_point, 2);
788extern Lisp_Object make_window P_ ((void)); 788extern Lisp_Object make_window (void);
789extern void delete_window P_ ((Lisp_Object)); 789extern void delete_window (Lisp_Object);
790extern Lisp_Object window_from_coordinates P_ ((struct frame *, int, int, 790extern Lisp_Object window_from_coordinates (struct frame *, int, int,
791 enum window_part *, 791 enum window_part *,
792 int *, int*, int)); 792 int *, int*, int);
793EXFUN (Fwindow_dedicated_p, 1); 793EXFUN (Fwindow_dedicated_p, 1);
794extern int window_height P_ ((Lisp_Object)); 794extern int window_height (Lisp_Object);
795extern int window_width P_ ((Lisp_Object)); 795extern int window_width (Lisp_Object);
796EXFUN (Fwindow_full_width_p, 1); 796EXFUN (Fwindow_full_width_p, 1);
797extern void set_window_height P_ ((Lisp_Object, int, int)); 797extern void set_window_height (Lisp_Object, int, int);
798extern void set_window_width P_ ((Lisp_Object, int, int)); 798extern void set_window_width (Lisp_Object, int, int);
799extern void change_window_heights P_ ((Lisp_Object, int)); 799extern void change_window_heights (Lisp_Object, int);
800extern void delete_all_subwindows P_ ((struct window *)); 800extern void delete_all_subwindows (struct window *);
801extern void freeze_window_starts P_ ((struct frame *, int)); 801extern void freeze_window_starts (struct frame *, int);
802extern void foreach_window P_ ((struct frame *, 802extern void foreach_window (struct frame *,
803 int (* fn) (struct window *, void *), 803 int (* fn) (struct window *, void *),
804 void *)); 804 void *);
805extern void grow_mini_window P_ ((struct window *, int)); 805extern void grow_mini_window (struct window *, int);
806extern void shrink_mini_window P_ ((struct window *)); 806extern void shrink_mini_window (struct window *);
807 807
808void run_window_configuration_change_hook (struct frame *f); 808void run_window_configuration_change_hook (struct frame *f);
809 809
@@ -811,8 +811,8 @@ void run_window_configuration_change_hook (struct frame *f);
811 means it's allowed to run hooks. See make_frame for a case where 811 means it's allowed to run hooks. See make_frame for a case where
812 it's not allowed. */ 812 it's not allowed. */
813 813
814void set_window_buffer P_ ((Lisp_Object window, Lisp_Object buffer, 814void set_window_buffer (Lisp_Object window, Lisp_Object buffer,
815 int run_hooks_p, int keep_margins_p)); 815 int run_hooks_p, int keep_margins_p);
816 816
817/* Prompt to display in front of the minibuffer contents. */ 817/* Prompt to display in front of the minibuffer contents. */
818 818
@@ -862,13 +862,13 @@ extern int buffer_shared;
862/* If *ROWS or *COLS are too small a size for FRAME, set them to the 862/* If *ROWS or *COLS are too small a size for FRAME, set them to the
863 minimum allowable size. */ 863 minimum allowable size. */
864 864
865extern void check_frame_size P_ ((struct frame *frame, int *rows, int *cols)); 865extern void check_frame_size (struct frame *frame, int *rows, int *cols);
866 866
867/* Return a pointer to the glyph W's physical cursor is on. Value is 867/* Return a pointer to the glyph W's physical cursor is on. Value is
868 null if W's current matrix is invalid, so that no meaningfull glyph 868 null if W's current matrix is invalid, so that no meaningfull glyph
869 can be returned. */ 869 can be returned. */
870 870
871struct glyph *get_phys_cursor_glyph P_ ((struct window *w)); 871struct glyph *get_phys_cursor_glyph (struct window *w);
872 872
873/* Value is non-zero if WINDOW is a live window. */ 873/* Value is non-zero if WINDOW is a live window. */
874 874
@@ -891,24 +891,24 @@ EXFUN (Fsave_window_excursion, UNEVALLED);
891EXFUN (Fsplit_window, 3); 891EXFUN (Fsplit_window, 3);
892EXFUN (Fset_window_configuration, 1); 892EXFUN (Fset_window_configuration, 1);
893EXFUN (Fcurrent_window_configuration, 1); 893EXFUN (Fcurrent_window_configuration, 1);
894extern int compare_window_configurations P_ ((Lisp_Object, Lisp_Object, int)); 894extern int compare_window_configurations (Lisp_Object, Lisp_Object, int);
895EXFUN (Fcoordinates_in_window_p, 2); 895EXFUN (Fcoordinates_in_window_p, 2);
896EXFUN (Fwindow_at, 3); 896EXFUN (Fwindow_at, 3);
897EXFUN (Fpos_visible_in_window_p, 3); 897EXFUN (Fpos_visible_in_window_p, 3);
898extern void mark_window_cursors_off P_ ((struct window *)); 898extern void mark_window_cursors_off (struct window *);
899extern int window_internal_height P_ ((struct window *)); 899extern int window_internal_height (struct window *);
900extern int window_internal_width P_ ((struct window *)); 900extern int window_internal_width (struct window *);
901EXFUN (Frecenter, 1); 901EXFUN (Frecenter, 1);
902EXFUN (Fscroll_other_window, 1); 902EXFUN (Fscroll_other_window, 1);
903EXFUN (Fset_window_start, 3); 903EXFUN (Fset_window_start, 3);
904extern void temp_output_buffer_show P_ ((Lisp_Object)); 904extern void temp_output_buffer_show (Lisp_Object);
905extern void replace_buffer_in_all_windows P_ ((Lisp_Object)); 905extern void replace_buffer_in_all_windows (Lisp_Object);
906extern void init_window_once P_ ((void)); 906extern void init_window_once (void);
907extern void init_window P_ ((void)); 907extern void init_window (void);
908extern void syms_of_window P_ ((void)); 908extern void syms_of_window (void);
909extern void keys_of_window P_ ((void)); 909extern void keys_of_window (void);
910 910
911extern int window_box_text_cols P_ ((struct window *w)); 911extern int window_box_text_cols (struct window *w);
912 912
913#endif /* not WINDOW_H_INCLUDED */ 913#endif /* not WINDOW_H_INCLUDED */
914 914
diff --git a/src/xgselect.h b/src/xgselect.h
index bae084f0d5c..f120d8866cf 100644
--- a/src/xgselect.h
+++ b/src/xgselect.h
@@ -24,13 +24,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
24#include "systime.h" 24#include "systime.h"
25#include "sysselect.h" 25#include "sysselect.h"
26 26
27extern int xg_select P_ ((int max_fds, 27extern int xg_select (int max_fds,
28 SELECT_TYPE *rfds, 28 SELECT_TYPE *rfds,
29 SELECT_TYPE *wfds, 29 SELECT_TYPE *wfds,
30 SELECT_TYPE *efds, 30 SELECT_TYPE *efds,
31 EMACS_TIME *timeout)); 31 EMACS_TIME *timeout);
32 32
33extern void xgselect_initialize P_ ((void)); 33extern void xgselect_initialize (void);
34 34
35#endif /* XGSELECT_H */ 35#endif /* XGSELECT_H */
36 36
diff --git a/src/xsettings.h b/src/xsettings.h
index 53fca2ad6b5..50819d456c8 100644
--- a/src/xsettings.h
+++ b/src/xsettings.h
@@ -24,11 +24,11 @@ EXFUN (Ffont_get_system_font, 0);
24EXFUN (Ffont_get_system_normal_font, 0); 24EXFUN (Ffont_get_system_normal_font, 0);
25EXFUN (Ftool_bar_get_system_style, 0); 25EXFUN (Ftool_bar_get_system_style, 0);
26 26
27extern void xsettings_initialize P_ ((struct x_display_info *dpyinfo)); 27extern void xsettings_initialize (struct x_display_info *dpyinfo);
28extern void xft_settings_event P_ ((struct x_display_info *dpyinfo, 28extern void xft_settings_event (struct x_display_info *dpyinfo,
29 XEvent *)); 29 XEvent *);
30extern const char *xsettings_get_system_font P_ ((void)); 30extern const char *xsettings_get_system_font (void);
31extern const char *xsettings_get_system_normal_font P_ ((void)); 31extern const char *xsettings_get_system_normal_font (void);
32 32
33 33
34#endif /* XSETTINGS_H */ 34#endif /* XSETTINGS_H */
diff --git a/src/xterm.h b/src/xterm.h
index beb2c0638dd..099c194ad72 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -378,13 +378,13 @@ extern int use_xim;
378#endif 378#endif
379 379
380/* This checks to make sure we have a display. */ 380/* This checks to make sure we have a display. */
381extern void check_x P_ ((void)); 381extern void check_x (void);
382 382
383extern struct frame *x_window_to_frame P_ ((struct x_display_info *, int)); 383extern struct frame *x_window_to_frame (struct x_display_info *, int);
384 384
385extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int)); 385extern struct frame *x_any_window_to_frame (struct x_display_info *, int);
386extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int)); 386extern struct frame *x_menubar_window_to_frame (struct x_display_info *, int);
387extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int)); 387extern struct frame *x_top_window_to_frame (struct x_display_info *, int);
388 388
389#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) 389#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK)
390#define x_any_window_to_frame x_window_to_frame 390#define x_any_window_to_frame x_window_to_frame
@@ -403,14 +403,14 @@ extern Lisp_Object x_display_name_list;
403/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ 403/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
404extern Lisp_Object Vx_pixel_size_width_font_regexp; 404extern Lisp_Object Vx_pixel_size_width_font_regexp;
405 405
406extern struct x_display_info *x_display_info_for_display P_ ((Display *)); 406extern struct x_display_info *x_display_info_for_display (Display *);
407extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); 407extern struct x_display_info *x_display_info_for_name (Lisp_Object);
408extern void x_set_frame_alpha P_ ((struct frame *)); 408extern void x_set_frame_alpha (struct frame *);
409 409
410extern struct x_display_info *x_term_init P_ ((Lisp_Object, char *, char *)); 410extern struct x_display_info *x_term_init (Lisp_Object, char *, char *);
411extern int x_display_ok P_ ((const char *)); 411extern int x_display_ok (const char *);
412 412
413extern void select_visual P_ ((struct x_display_info *)); 413extern void select_visual (struct x_display_info *);
414 414
415 415
416struct font; 416struct font;
@@ -915,168 +915,168 @@ struct image;
915 915
916/* From xselect.c. */ 916/* From xselect.c. */
917 917
918void x_handle_selection_notify P_ ((XSelectionEvent *)); 918void x_handle_selection_notify (XSelectionEvent *);
919void x_handle_property_notify P_ ((XPropertyEvent *)); 919void x_handle_property_notify (XPropertyEvent *);
920 920
921/* From xfns.c. */ 921/* From xfns.c. */
922 922
923Lisp_Object display_x_get_resource P_ ((struct x_display_info *, 923Lisp_Object display_x_get_resource (struct x_display_info *,
924 Lisp_Object, Lisp_Object, 924 Lisp_Object, Lisp_Object,
925 Lisp_Object, Lisp_Object)); 925 Lisp_Object, Lisp_Object);
926struct frame *check_x_frame P_ ((Lisp_Object)); 926struct frame *check_x_frame (Lisp_Object);
927EXFUN (Fx_display_color_p, 1); 927EXFUN (Fx_display_color_p, 1);
928EXFUN (Fx_display_grayscale_p, 1); 928EXFUN (Fx_display_grayscale_p, 1);
929extern void x_free_gcs P_ ((struct frame *)); 929extern void x_free_gcs (struct frame *);
930 930
931/* From xrdb.c. */ 931/* From xrdb.c. */
932 932
933char *x_get_customization_string P_ ((XrmDatabase, char *, char *)); 933char *x_get_customization_string (XrmDatabase, char *, char *);
934XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *)); 934XrmDatabase x_load_resources (Display *, char *, char *, char *);
935int x_get_resource P_ ((XrmDatabase, char *, char *, 935int x_get_resource (XrmDatabase, char *, char *,
936 XrmRepresentation, XrmValue *)); 936 XrmRepresentation, XrmValue *);
937void x_delete_display P_ ((struct x_display_info *)); 937void x_delete_display (struct x_display_info *);
938void x_make_frame_visible P_ ((struct frame *)); 938void x_make_frame_visible (struct frame *);
939void x_iconify_frame P_ ((struct frame *)); 939void x_iconify_frame (struct frame *);
940void x_wm_set_size_hint P_ ((struct frame *, long, int)); 940void x_wm_set_size_hint (struct frame *, long, int);
941int x_text_icon P_ ((struct frame *, char *)); 941int x_text_icon (struct frame *, char *);
942int x_bitmap_icon P_ ((struct frame *, Lisp_Object)); 942int x_bitmap_icon (struct frame *, Lisp_Object);
943void x_set_window_size P_ ((struct frame *, int, int, int)); 943void x_set_window_size (struct frame *, int, int, int);
944void x_wm_set_window_state P_ ((struct frame *, int)); 944void x_wm_set_window_state (struct frame *, int);
945int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *)); 945int x_alloc_nearest_color (struct frame *, Colormap, XColor *);
946 946
947/* Defined in xterm.c */ 947/* Defined in xterm.c */
948 948
949extern void cancel_mouse_face P_ ((struct frame *)); 949extern void cancel_mouse_face (struct frame *);
950extern void x_scroll_bar_clear P_ ((struct frame *)); 950extern void x_scroll_bar_clear (struct frame *);
951extern int x_text_icon P_ ((struct frame *, char *)); 951extern int x_text_icon (struct frame *, char *);
952extern int x_bitmap_icon P_ ((struct frame *, Lisp_Object)); 952extern int x_bitmap_icon (struct frame *, Lisp_Object);
953extern void x_catch_errors P_ ((Display *)); 953extern void x_catch_errors (Display *);
954extern void x_check_errors P_ ((Display *, char *)); 954extern void x_check_errors (Display *, char *);
955extern int x_had_errors_p P_ ((Display *)); 955extern int x_had_errors_p (Display *);
956extern int x_catching_errors P_ ((void)); 956extern int x_catching_errors (void);
957extern void x_uncatch_errors P_ ((void)); 957extern void x_uncatch_errors (void);
958extern void x_clear_errors P_ ((Display *)); 958extern void x_clear_errors (Display *);
959extern void x_set_window_size P_ ((struct frame *, int, int, int)); 959extern void x_set_window_size (struct frame *, int, int, int);
960extern void x_set_mouse_position P_ ((struct frame *, int, int)); 960extern void x_set_mouse_position (struct frame *, int, int);
961extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); 961extern void x_set_mouse_pixel_position (struct frame *, int, int);
962extern void x_ewmh_activate_frame P_ ((struct frame *)); 962extern void x_ewmh_activate_frame (struct frame *);
963extern void x_raise_frame P_ ((struct frame *)); 963extern void x_raise_frame (struct frame *);
964extern void x_lower_frame P_ ((struct frame *)); 964extern void x_lower_frame (struct frame *);
965extern void x_make_frame_visible P_ ((struct frame *)); 965extern void x_make_frame_visible (struct frame *);
966extern void x_make_frame_invisible P_ ((struct frame *)); 966extern void x_make_frame_invisible (struct frame *);
967extern void x_iconify_frame P_ ((struct frame *)); 967extern void x_iconify_frame (struct frame *);
968extern void x_free_frame_resources P_ ((struct frame *)); 968extern void x_free_frame_resources (struct frame *);
969extern void x_destroy_window P_ ((struct frame *)); 969extern void x_destroy_window (struct frame *);
970extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); 970extern void x_wm_set_size_hint (struct frame *, long, int);
971extern void x_wm_set_window_state P_ ((struct frame *, int)); 971extern void x_wm_set_window_state (struct frame *, int);
972extern void x_wm_set_icon_pixmap P_ ((struct frame *, int)); 972extern void x_wm_set_icon_pixmap (struct frame *, int);
973extern void x_delete_display P_ ((struct x_display_info *)); 973extern void x_delete_display (struct x_display_info *);
974extern void x_delete_terminal P_ ((struct terminal *terminal)); 974extern void x_delete_terminal (struct terminal *terminal);
975extern void x_initialize P_ ((void)); 975extern void x_initialize (void);
976extern unsigned long x_copy_color P_ ((struct frame *, unsigned long)); 976extern unsigned long x_copy_color (struct frame *, unsigned long);
977#ifdef USE_X_TOOLKIT 977#ifdef USE_X_TOOLKIT
978extern XtAppContext Xt_app_con; 978extern XtAppContext Xt_app_con;
979extern int x_alloc_lighter_color_for_widget __P ((Widget, Display*, Colormap, 979extern int x_alloc_lighter_color_for_widget (Widget, Display*, Colormap,
980 unsigned long *, 980 unsigned long *,
981 double, int)); 981 double, int);
982extern void x_activate_timeout_atimer P_ ((void)); 982extern void x_activate_timeout_atimer (void);
983#endif 983#endif
984extern void x_query_colors P_ ((struct frame *f, XColor *, int)); 984extern void x_query_colors (struct frame *f, XColor *, int);
985extern void x_query_color P_ ((struct frame *f, XColor *)); 985extern void x_query_color (struct frame *f, XColor *);
986extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); 986extern void x_clear_area (Display *, Window, int, int, int, int, int);
987extern void set_vertical_scroll_bar P_ ((struct window *)); 987extern void set_vertical_scroll_bar (struct window *);
988 988
989extern int x_dispatch_event P_ ((XEvent *, Display *)); 989extern int x_dispatch_event (XEvent *, Display *);
990extern unsigned int x_x_to_emacs_modifiers P_ ((struct x_display_info *, 990extern unsigned int x_x_to_emacs_modifiers (struct x_display_info *,
991 unsigned)); 991 unsigned);
992extern int x_display_pixel_height P_ ((struct x_display_info *)); 992extern int x_display_pixel_height (struct x_display_info *);
993extern int x_display_pixel_width P_ ((struct x_display_info *)); 993extern int x_display_pixel_width (struct x_display_info *);
994 994
995extern void x_set_sticky P_ ((struct frame *, Lisp_Object, Lisp_Object)); 995extern void x_set_sticky (struct frame *, Lisp_Object, Lisp_Object);
996extern void x_wait_for_event P_ ((struct frame *, int)); 996extern void x_wait_for_event (struct frame *, int);
997 997
998/* Defined in xselect.c */ 998/* Defined in xselect.c */
999 999
1000extern void x_handle_property_notify P_ ((XPropertyEvent *)); 1000extern void x_handle_property_notify (XPropertyEvent *);
1001extern void x_handle_selection_notify P_ ((XSelectionEvent *)); 1001extern void x_handle_selection_notify (XSelectionEvent *);
1002extern void x_handle_selection_event P_ ((struct input_event *)); 1002extern void x_handle_selection_event (struct input_event *);
1003extern void x_clear_frame_selections P_ ((struct frame *)); 1003extern void x_clear_frame_selections (struct frame *);
1004 1004
1005extern int x_handle_dnd_message P_ ((struct frame *, 1005extern int x_handle_dnd_message (struct frame *,
1006 XClientMessageEvent *, 1006 XClientMessageEvent *,
1007 struct x_display_info *, 1007 struct x_display_info *,
1008 struct input_event *bufp)); 1008 struct input_event *bufp);
1009extern int x_check_property_data P_ ((Lisp_Object)); 1009extern int x_check_property_data (Lisp_Object);
1010extern void x_fill_property_data P_ ((Display *, 1010extern void x_fill_property_data (Display *,
1011 Lisp_Object, 1011 Lisp_Object,
1012 void *, 1012 void *,
1013 int)); 1013 int);
1014extern Lisp_Object x_property_data_to_lisp P_ ((struct frame *, 1014extern Lisp_Object x_property_data_to_lisp (struct frame *,
1015 unsigned char *, 1015 unsigned char *,
1016 Atom, 1016 Atom,
1017 int, 1017 int,
1018 unsigned long)); 1018 unsigned long);
1019 1019
1020/* Defined in xfns.c */ 1020/* Defined in xfns.c */
1021 1021
1022extern struct x_display_info * check_x_display_info P_ ((Lisp_Object frame)); 1022extern struct x_display_info * check_x_display_info (Lisp_Object frame);
1023 1023
1024#ifdef USE_GTK 1024#ifdef USE_GTK
1025extern int xg_set_icon P_ ((struct frame *, Lisp_Object)); 1025extern int xg_set_icon (struct frame *, Lisp_Object);
1026extern int xg_set_icon_from_xpm_data P_ ((struct frame *, char**)); 1026extern int xg_set_icon_from_xpm_data (struct frame *, char**);
1027#endif /* USE_GTK */ 1027#endif /* USE_GTK */
1028 1028
1029extern void x_real_positions P_ ((struct frame *, int *, int *)); 1029extern void x_real_positions (struct frame *, int *, int *);
1030extern int defined_color P_ ((struct frame *, char *, XColor *, int)); 1030extern int defined_color (struct frame *, char *, XColor *, int);
1031extern void x_set_border_pixel P_ ((struct frame *, int)); 1031extern void x_set_border_pixel (struct frame *, int);
1032extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1032extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
1033extern void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1033extern void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object);
1034extern void xic_free_xfontset P_ ((struct frame *)); 1034extern void xic_free_xfontset (struct frame *);
1035extern void create_frame_xic P_ ((struct frame *)); 1035extern void create_frame_xic (struct frame *);
1036extern void destroy_frame_xic P_ ((struct frame *)); 1036extern void destroy_frame_xic (struct frame *);
1037extern void xic_set_preeditarea P_ ((struct window *, int, int)); 1037extern void xic_set_preeditarea (struct window *, int, int);
1038extern void xic_set_statusarea P_ ((struct frame *)); 1038extern void xic_set_statusarea (struct frame *);
1039extern void xic_set_xfontset P_ ((struct frame *, char *)); 1039extern void xic_set_xfontset (struct frame *, char *);
1040extern int x_pixel_width P_ ((struct frame *)); 1040extern int x_pixel_width (struct frame *);
1041extern int x_pixel_height P_ ((struct frame *)); 1041extern int x_pixel_height (struct frame *);
1042extern int x_char_width P_ ((struct frame *)); 1042extern int x_char_width (struct frame *);
1043extern int x_char_height P_ ((struct frame *)); 1043extern int x_char_height (struct frame *);
1044extern int x_screen_planes P_ ((struct frame *)); 1044extern int x_screen_planes (struct frame *);
1045extern void x_sync P_ ((struct frame *)); 1045extern void x_sync (struct frame *);
1046extern int x_defined_color P_ ((struct frame *, char *, XColor *, int)); 1046extern int x_defined_color (struct frame *, char *, XColor *, int);
1047#ifdef HAVE_X_I18N 1047#ifdef HAVE_X_I18N
1048extern void free_frame_xic P_ ((struct frame *)); 1048extern void free_frame_xic (struct frame *);
1049#endif 1049#endif
1050extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1050extern void x_set_tool_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
1051 1051
1052/* Defined in xfaces.c */ 1052/* Defined in xfaces.c */
1053 1053
1054extern int compute_glyph_face P_ ((struct frame *, int, int)); 1054extern int compute_glyph_face (struct frame *, int, int);
1055extern int compute_glyph_face_1 P_ ((struct frame *, Lisp_Object, int)); 1055extern int compute_glyph_face_1 (struct frame *, Lisp_Object, int);
1056extern void x_free_dpy_colors P_ ((Display *, Screen *, Colormap, 1056extern void x_free_dpy_colors (Display *, Screen *, Colormap,
1057 unsigned long *, int)); 1057 unsigned long *, int);
1058 1058
1059/* Defined in xmenu.c */ 1059/* Defined in xmenu.c */
1060 1060
1061extern void x_menu_set_in_use P_ ((int)); 1061extern void x_menu_set_in_use (int);
1062extern void x_menu_wait_for_event P_ ((void *data)); 1062extern void x_menu_wait_for_event (void *data);
1063extern void x_activate_menubar P_ ((struct frame *)); 1063extern void x_activate_menubar (struct frame *);
1064extern int popup_activated P_ ((void)); 1064extern int popup_activated (void);
1065extern void initialize_frame_menubar P_ ((struct frame *)); 1065extern void initialize_frame_menubar (struct frame *);
1066extern void free_frame_menubar P_ ((struct frame *)); 1066extern void free_frame_menubar (struct frame *);
1067 1067
1068/* Defined in widget.c */ 1068/* Defined in widget.c */
1069 1069
1070#ifdef USE_X_TOOLKIT 1070#ifdef USE_X_TOOLKIT
1071extern void widget_store_internal_border P_ ((Widget)); 1071extern void widget_store_internal_border (Widget);
1072#endif 1072#endif
1073 1073
1074/* Defined in xsmfns.c */ 1074/* Defined in xsmfns.c */
1075#ifdef HAVE_X_SM 1075#ifdef HAVE_X_SM
1076extern void x_session_initialize P_ ((struct x_display_info *dpyinfo)); 1076extern void x_session_initialize (struct x_display_info *dpyinfo);
1077extern int x_session_check_input P_ ((struct input_event *bufp)); 1077extern int x_session_check_input (struct input_event *bufp);
1078extern int x_session_have_connection P_ ((void)); 1078extern int x_session_have_connection (void);
1079extern void x_session_close P_ ((void)); 1079extern void x_session_close (void);
1080#endif 1080#endif
1081 1081
1082/* XEmbed implementation. */ 1082/* XEmbed implementation. */
@@ -1129,10 +1129,10 @@ enum xembed_accelerator
1129 1129
1130/* Defined in xterm.c */ 1130/* Defined in xterm.c */
1131 1131
1132extern void xembed_set_info P_ ((struct frame *f, enum xembed_info flags)); 1132extern void xembed_set_info (struct frame *f, enum xembed_info flags);
1133extern void xembed_send_message P_ ((struct frame *f, Time time, 1133extern void xembed_send_message (struct frame *f, Time time,
1134 enum xembed_message message, 1134 enum xembed_message message,
1135 long detail, long data1, long data2)); 1135 long detail, long data1, long data2);
1136 1136
1137/* Is the frame embedded into another application? */ 1137/* Is the frame embedded into another application? */
1138 1138