aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2010-07-25 02:20:51 +0200
committerJuanma Barranquero2010-07-25 02:20:51 +0200
commit361358ea12271d5d747773a2d1ba743ee9516745 (patch)
treecee5bc68721bbe0be71359d7368439aa3df092b6 /src
parent12a251254bbeb759a7e717ce0f68038a0bd03723 (diff)
downloademacs-361358ea12271d5d747773a2d1ba743ee9516745.tar.gz
emacs-361358ea12271d5d747773a2d1ba743ee9516745.zip
Make building under stricter warning flags somewhat cleaner.
Flags used: -Wold-style-declaration -Wunused-function -Wstrict-prototypes * lib-src/emacsclient.c (getcwd, w32_getenv): * lib-src/ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes. * nt/runemacs.c (set_user_model_id): Fix prototype. * src/callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT. * src/dired.c (opendir, readdir): Fix prototypes. * src/editfns.c (w32_get_internal_run_time): Fix prototypes. * src/keyboard.c (input_available_signal): Declare inside #ifdef SIGIO. * src/ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes. (telldir): Remove declaration. * src/ralloc.c (real_morecore, __morecore): Fix prototypes. * src/sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA. * src/syssignal.h (strsignal): Fix prototype. * src/term.c (tparam): Fix prototype. (term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1) (term_get_fkeys): Set inside "#ifndef DOS_NT". * src/vm-limit.c (check_memory_limits): Fix prototypes of real_morecore and __morecore. * src/w32gui.h (XParseGeometry): Fix prototype. * src/w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes. * src/w32term.c (my_set_focus): Declare inside #if 0. * src/w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init) (w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit) (drain_message_queue, get_next_msg, post_msg, parse_button) (ClipboardSequence_Proc): Fix prototypes. (wait_for_sync): Remove declaration.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog25
-rw-r--r--src/callproc.c10
-rw-r--r--src/dired.c4
-rw-r--r--src/editfns.c2
-rw-r--r--src/keyboard.c4
-rw-r--r--src/ndir.h9
-rw-r--r--src/ralloc.c4
-rw-r--r--src/sound.c2
-rw-r--r--src/syssignal.h2
-rw-r--r--src/term.c4
-rw-r--r--src/vm-limit.c4
-rw-r--r--src/w32gui.h2
-rw-r--r--src/w32heap.h6
-rw-r--r--src/w32term.c2
-rw-r--r--src/w32term.h32
15 files changed, 75 insertions, 37 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7234b4f843e..339e7b2beb2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,28 @@
12010-07-25 Juanma Barranquero <lekktu@gmail.com>
2
3 * callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
4 * dired.c (opendir, readdir): Fix prototypes.
5 * editfns.c (w32_get_internal_run_time): Fix prototypes.
6 * keyboard.c (input_available_signal): Declare inside #ifdef SIGIO.
7 * ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes.
8 (telldir): Remove declaration.
9 * ralloc.c (real_morecore, __morecore): Fix prototypes.
10 * sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA.
11 * syssignal.h (strsignal): Fix prototype.
12 * term.c (tparam): Fix prototype.
13 (term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1)
14 (term_get_fkeys): Set inside "#ifndef DOS_NT".
15 * vm-limit.c (check_memory_limits): Fix prototypes of real_morecore
16 and __morecore.
17 * w32gui.h (XParseGeometry): Fix prototype.
18 * w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes.
19 * w32term.c (my_set_focus): Declare inside #if 0.
20 * w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init)
21 (w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit)
22 (drain_message_queue, get_next_msg, post_msg, parse_button)
23 (ClipboardSequence_Proc): Fix prototypes.
24 (wait_for_sync): Remove declaration.
25
12010-07-24 Juanma Barranquero <lekktu@gmail.com> 262010-07-24 Juanma Barranquero <lekktu@gmail.com>
2 27
3 * w32fns.c (w32_to_x_color): Remove, unused. 28 * w32fns.c (w32_to_x_color): Remove, unused.
diff --git a/src/callproc.c b/src/callproc.c
index 4286ab1ae29..7f72df86ece 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -984,7 +984,9 @@ usage: (call-process-region START END PROGRAM &optional DELETE BUFFER DISPLAY &r
984 RETURN_UNGCPRO (unbind_to (count, Fcall_process (nargs, args))); 984 RETURN_UNGCPRO (unbind_to (count, Fcall_process (nargs, args)));
985} 985}
986 986
987#ifndef WINDOWSNT
987static int relocate_fd (int fd, int minfd); 988static int relocate_fd (int fd, int minfd);
989#endif
988 990
989static char ** 991static char **
990add_env (char **env, char **new_env, char *string) 992add_env (char **env, char **new_env, char *string)
@@ -1113,7 +1115,7 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
1113 char **p, **q; 1115 char **p, **q;
1114 register int new_length; 1116 register int new_length;
1115 Lisp_Object display = Qnil; 1117 Lisp_Object display = Qnil;
1116 1118
1117 new_length = 0; 1119 new_length = 0;
1118 1120
1119 for (tem = Vprocess_environment; 1121 for (tem = Vprocess_environment;
@@ -1149,7 +1151,7 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
1149 but with corrected value. */ 1151 but with corrected value. */
1150 if (egetenv ("PWD")) 1152 if (egetenv ("PWD"))
1151 *new_env++ = pwd_var; 1153 *new_env++ = pwd_var;
1152 1154
1153 if (STRINGP (display)) 1155 if (STRINGP (display))
1154 { 1156 {
1155 int vlen = strlen ("DISPLAY=") + strlen (SDATA (display)) + 1; 1157 int vlen = strlen ("DISPLAY=") + strlen (SDATA (display)) + 1;
@@ -1179,7 +1181,7 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
1179 } 1181 }
1180 } 1182 }
1181 1183
1182 1184
1183#ifdef WINDOWSNT 1185#ifdef WINDOWSNT
1184 prepare_standard_handles (in, out, err, handles); 1186 prepare_standard_handles (in, out, err, handles);
1185 set_process_dir (SDATA (current_dir)); 1187 set_process_dir (SDATA (current_dir));
@@ -1265,6 +1267,7 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
1265#endif /* not MSDOS */ 1267#endif /* not MSDOS */
1266} 1268}
1267 1269
1270#ifndef WINDOWSNT
1268/* Move the file descriptor FD so that its number is not less than MINFD. 1271/* Move the file descriptor FD so that its number is not less than MINFD.
1269 If the file descriptor is moved at all, the original is freed. */ 1272 If the file descriptor is moved at all, the original is freed. */
1270static int 1273static int
@@ -1298,6 +1301,7 @@ relocate_fd (int fd, int minfd)
1298 return new; 1301 return new;
1299 } 1302 }
1300} 1303}
1304#endif /* not WINDOWSNT */
1301 1305
1302static int 1306static int
1303getenv_internal_1 (const char *var, int varlen, char **value, int *valuelen, 1307getenv_internal_1 (const char *var, int varlen, char **value, int *valuelen,
diff --git a/src/dired.c b/src/dired.c
index cdb4545e81c..8f360e8879f 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -66,8 +66,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
66#ifndef MSDOS 66#ifndef MSDOS
67#define DIRENTRY struct direct 67#define DIRENTRY struct direct
68 68
69extern DIR *opendir (); 69extern DIR *opendir (char *);
70extern struct direct *readdir (); 70extern struct direct *readdir (DIR *);
71 71
72#endif /* not MSDOS */ 72#endif /* not MSDOS */
73#endif /* not SYSV_SYSTEM_DIR */ 73#endif /* not SYSV_SYSTEM_DIR */
diff --git a/src/editfns.c b/src/editfns.c
index 805dba60446..96ae1766e04 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -90,7 +90,7 @@ extern size_t emacs_strftimeu (char *, size_t, const char *,
90 const struct tm *, int); 90 const struct tm *, int);
91 91
92#ifdef WINDOWSNT 92#ifdef WINDOWSNT
93extern Lisp_Object w32_get_internal_run_time (); 93extern Lisp_Object w32_get_internal_run_time (void);
94#endif 94#endif
95 95
96static int tm_diff (struct tm *, struct tm *); 96static int tm_diff (struct tm *, struct tm *);
diff --git a/src/keyboard.c b/src/keyboard.c
index c2f010cf4e7..1cc24f95bdc 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -635,7 +635,9 @@ static Lisp_Object apply_modifiers (int, Lisp_Object);
635static void clear_event (struct input_event *); 635static void clear_event (struct input_event *);
636static Lisp_Object restore_kboard_configuration (Lisp_Object); 636static Lisp_Object restore_kboard_configuration (Lisp_Object);
637static SIGTYPE interrupt_signal (int signalnum); 637static SIGTYPE interrupt_signal (int signalnum);
638#ifdef SIGIO
638static SIGTYPE input_available_signal (int signo); 639static SIGTYPE input_available_signal (int signo);
640#endif
639static void handle_interrupt (void); 641static void handle_interrupt (void);
640static void timer_start_idle (void); 642static void timer_start_idle (void);
641static void timer_stop_idle (void); 643static void timer_stop_idle (void);
@@ -3895,7 +3897,7 @@ kbd_buffer_get_event (KBOARD **kbp,
3895{ 3897{
3896 register int c; 3898 register int c;
3897 Lisp_Object obj; 3899 Lisp_Object obj;
3898 3900
3899 if (kbd_on_hold_p () && kbd_buffer_nr_stored () < KBD_BUFFER_SIZE/4) 3901 if (kbd_on_hold_p () && kbd_buffer_nr_stored () < KBD_BUFFER_SIZE/4)
3900 { 3902 {
3901 /* Start reading input again, we have processed enough so we can 3903 /* Start reading input again, we have processed enough so we can
diff --git a/src/ndir.h b/src/ndir.h
index d7bac9d3fae..92d198334b7 100644
--- a/src/ndir.h
+++ b/src/ndir.h
@@ -32,11 +32,10 @@ typedef struct
32 char dd_buf[DIRBLKSIZ]; /* directory block */ 32 char dd_buf[DIRBLKSIZ]; /* directory block */
33 } DIR; /* stream data from opendir() */ 33 } DIR; /* stream data from opendir() */
34 34
35extern DIR *opendir(); 35extern DIR *opendir (char *);
36extern struct direct *readdir(); 36extern struct direct *readdir (DIR *);
37extern long telldir(); 37extern void seekdir (DIR *, long);
38extern void seekdir(); 38extern void closedir (DIR *);
39extern void closedir();
40 39
41#define rewinddir( dirp ) seekdir( dirp, 0L ) 40#define rewinddir( dirp ) seekdir( dirp, 0L )
42 41
diff --git a/src/ralloc.c b/src/ralloc.c
index f0299873f54..5f2b52fcc4b 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -79,7 +79,7 @@ static void r_alloc_init (void);
79/* Declarations for working with the malloc, ralloc, and system breaks. */ 79/* Declarations for working with the malloc, ralloc, and system breaks. */
80 80
81/* Function to set the real break value. */ 81/* Function to set the real break value. */
82POINTER (*real_morecore) (); 82POINTER (*real_morecore) (long int);
83 83
84/* The break value, as seen by malloc. */ 84/* The break value, as seen by malloc. */
85static POINTER virtual_break_value; 85static POINTER virtual_break_value;
@@ -111,7 +111,7 @@ static int extra_bytes;
111 from the system. */ 111 from the system. */
112 112
113#ifndef SYSTEM_MALLOC 113#ifndef SYSTEM_MALLOC
114extern POINTER (*__morecore) (); 114extern POINTER (*__morecore) (long int);
115#endif 115#endif
116 116
117 117
diff --git a/src/sound.c b/src/sound.c
index e0ebd565151..4e3d583ccf0 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -115,7 +115,9 @@ enum sound_attr
115 SOUND_ATTR_SENTINEL 115 SOUND_ATTR_SENTINEL
116}; 116};
117 117
118#ifdef HAVE_ALSA
118static void alsa_sound_perror (char *, int) NO_RETURN; 119static void alsa_sound_perror (char *, int) NO_RETURN;
120#endif
119static void sound_perror (char *) NO_RETURN; 121static void sound_perror (char *) NO_RETURN;
120static void sound_warning (char *); 122static void sound_warning (char *);
121static int parse_sound (Lisp_Object, Lisp_Object *); 123static int parse_sound (Lisp_Object, Lisp_Object *);
diff --git a/src/syssignal.h b/src/syssignal.h
index e3765add425..f034e9e0761 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -160,7 +160,7 @@ sigset_t sys_sigsetmask (sigset_t new_mask);
160 160
161#ifndef HAVE_STRSIGNAL 161#ifndef HAVE_STRSIGNAL
162/* strsignal is in sysdep.c */ 162/* strsignal is in sysdep.c */
163char *strsignal (); 163char *strsignal (int);
164#endif 164#endif
165 165
166#ifdef FORWARD_SIGNAL_TO_MAIN_THREAD 166#ifdef FORWARD_SIGNAL_TO_MAIN_THREAD
diff --git a/src/term.c b/src/term.c
index 3233db84cf7..25501370cdf 100644
--- a/src/term.c
+++ b/src/term.c
@@ -183,7 +183,7 @@ static int no_controlling_tty;
183 183
184static int system_uses_terminfo; 184static int system_uses_terminfo;
185 185
186char *tparam (); 186char *tparam (char *, char *, int, int, ...);
187 187
188extern char *tgetstr (char *, char **); 188extern char *tgetstr (char *, char **);
189 189
@@ -1363,6 +1363,7 @@ static struct fkey_table keys[] =
1363 {"!3", "S-undo"} /*shifted undo key*/ 1363 {"!3", "S-undo"} /*shifted undo key*/
1364 }; 1364 };
1365 1365
1366#ifndef DOS_NT
1366static char **term_get_fkeys_address; 1367static char **term_get_fkeys_address;
1367static KBOARD *term_get_fkeys_kboard; 1368static KBOARD *term_get_fkeys_kboard;
1368static Lisp_Object term_get_fkeys_1 (void); 1369static Lisp_Object term_get_fkeys_1 (void);
@@ -1500,6 +1501,7 @@ term_get_fkeys_1 (void)
1500 1501
1501 return Qnil; 1502 return Qnil;
1502} 1503}
1504#endif /* not DOS_NT */
1503 1505
1504 1506
1505/*********************************************************************** 1507/***********************************************************************
diff --git a/src/vm-limit.c b/src/vm-limit.c
index b288276f394..06801db1a90 100644
--- a/src/vm-limit.c
+++ b/src/vm-limit.c
@@ -173,9 +173,9 @@ static void
173check_memory_limits (void) 173check_memory_limits (void)
174{ 174{
175#ifdef REL_ALLOC 175#ifdef REL_ALLOC
176 extern POINTER (*real_morecore) (); 176 extern POINTER (*real_morecore) (SIZE);
177#endif 177#endif
178 extern POINTER (*__morecore) (); 178 extern POINTER (*__morecore) (SIZE);
179 179
180 register POINTER cp; 180 register POINTER cp;
181 unsigned long five_percent; 181 unsigned long five_percent;
diff --git a/src/w32gui.h b/src/w32gui.h
index 07a6fed0b47..9cad4f21f21 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -118,7 +118,7 @@ extern int nCmdShow;
118#define PBaseSize (1L << 8) /* program specified base for incrementing */ 118#define PBaseSize (1L << 8) /* program specified base for incrementing */
119#define PWinGravity (1L << 9) /* program specified window gravity */ 119#define PWinGravity (1L << 9) /* program specified window gravity */
120 120
121extern int XParseGeometry (); 121extern int XParseGeometry (char *, int *, int *, unsigned *, unsigned *);
122 122
123 123
124typedef struct { 124typedef struct {
diff --git a/src/w32heap.h b/src/w32heap.h
index cbd7f7ae96d..20a49a4e0ac 100644
--- a/src/w32heap.h
+++ b/src/w32heap.h
@@ -41,8 +41,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
41#define get_w32_major_version() w32_major_version 41#define get_w32_major_version() w32_major_version
42#define get_w32_minor_version() w32_minor_version 42#define get_w32_minor_version() w32_minor_version
43 43
44extern unsigned char *get_data_start(); 44extern unsigned char *get_data_start (void);
45extern unsigned char *get_data_end(); 45extern unsigned char *get_data_end (void);
46extern unsigned long reserved_heap_size; 46extern unsigned long reserved_heap_size;
47extern SYSTEM_INFO sysinfo_cache; 47extern SYSTEM_INFO sysinfo_cache;
48extern OSVERSIONINFO osinfo_cache; 48extern OSVERSIONINFO osinfo_cache;
@@ -62,7 +62,7 @@ extern int os_subtype;
62extern void *sbrk (unsigned long size); 62extern void *sbrk (unsigned long size);
63 63
64/* Initialize heap structures for sbrk on startup. */ 64/* Initialize heap structures for sbrk on startup. */
65extern void init_heap (); 65extern void init_heap (void);
66 66
67/* Round the heap to this size. */ 67/* Round the heap to this size. */
68extern void round_heap (unsigned long size); 68extern void round_heap (unsigned long size);
diff --git a/src/w32term.c b/src/w32term.c
index abd7843c2ef..fc03034b14b 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -268,7 +268,9 @@ static void x_draw_bar_cursor (struct window *, struct glyph_row *, int,
268static void w32_clip_to_row (struct window *, struct glyph_row *, int, HDC); 268static void w32_clip_to_row (struct window *, struct glyph_row *, int, HDC);
269static BOOL my_show_window (struct frame *, HWND, int); 269static BOOL my_show_window (struct frame *, HWND, int);
270static void my_set_window_pos (HWND, HWND, int, int, int, int, UINT); 270static void my_set_window_pos (HWND, HWND, int, int, int, int, UINT);
271#if 0
271static void my_set_focus (struct frame *, HWND); 272static void my_set_focus (struct frame *, HWND);
273#endif
272static void my_set_foreground_window (HWND); 274static void my_set_foreground_window (HWND);
273static void my_destroy_window (struct frame *, HWND); 275static void my_destroy_window (struct frame *, HWND);
274 276
diff --git a/src/w32term.h b/src/w32term.h
index b5b3d4451f2..ea245144ac3 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -48,8 +48,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
48extern MSG CurMsg; 48extern MSG CurMsg;
49extern BOOL bUseDflt; 49extern BOOL bUseDflt;
50 50
51extern struct frame *x_window_to_frame ();
52
53/* Structure recording bitmaps and reference count. 51/* Structure recording bitmaps and reference count.
54 If REFCOUNT is 0 then this record is free to be reused. */ 52 If REFCOUNT is 0 then this record is free to be reused. */
55 53
@@ -226,13 +224,16 @@ extern Lisp_Object w32_display_name_list;
226/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ 224/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
227extern Lisp_Object Vx_pixel_size_width_font_regexp; 225extern Lisp_Object Vx_pixel_size_width_font_regexp;
228 226
229struct w32_display_info *x_display_info_for_name (); 227extern struct frame *x_window_to_frame (struct w32_display_info *, HWND);
228
229struct w32_display_info *x_display_info_for_name (Lisp_Object);
230 230
231Lisp_Object display_x_get_resource (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 (Lisp_Object,
236 char *, char *);
236 237
237extern int x_display_pixel_height (struct w32_display_info *); 238extern int x_display_pixel_height (struct w32_display_info *);
238extern int x_display_pixel_width (struct w32_display_info *); 239extern int x_display_pixel_width (struct w32_display_info *);
@@ -544,8 +545,10 @@ struct scroll_bar {
544#define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0) 545#define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0)
545 546
546 547
547extern void w32_fill_rect (); 548struct frame; /* from frame.h */
548extern void w32_clear_window (); 549
550extern void w32_fill_rect (struct frame *, HDC, COLORREF, RECT *);
551extern void w32_clear_window (struct frame *);
549 552
550#define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ 553#define w32_fill_area(f,hdc,pix,x,y,nx,ny) \
551do { \ 554do { \
@@ -645,10 +648,10 @@ typedef struct deferred_msg
645 648
646extern CRITICAL_SECTION critsect; 649extern CRITICAL_SECTION critsect;
647 650
648extern void init_crit (); 651extern void init_crit (void);
649extern void delete_crit (); 652extern void delete_crit (void);
650 653
651extern void signal_quit (); 654extern void signal_quit (void);
652 655
653#define enter_crit() EnterCriticalSection (&critsect) 656#define enter_crit() EnterCriticalSection (&critsect)
654#define leave_crit() LeaveCriticalSection (&critsect) 657#define leave_crit() LeaveCriticalSection (&critsect)
@@ -658,14 +661,13 @@ extern void deselect_palette (struct frame * f, HDC hdc);
658extern HDC get_frame_dc (struct frame * f); 661extern HDC get_frame_dc (struct frame * f);
659extern int release_frame_dc (struct frame * f, HDC hDC); 662extern int release_frame_dc (struct frame * f, HDC hDC);
660 663
661extern void drain_message_queue (); 664extern void drain_message_queue (void);
662 665
663extern BOOL get_next_msg (); 666extern BOOL get_next_msg (W32Msg *, BOOL);
664extern BOOL post_msg (); 667extern BOOL post_msg (W32Msg *);
665extern void complete_deferred_msg (HWND hwnd, UINT msg, LRESULT result); 668extern void complete_deferred_msg (HWND hwnd, UINT msg, LRESULT result);
666extern void wait_for_sync ();
667 669
668extern BOOL parse_button (); 670extern BOOL parse_button (int, int, int *, int *);
669 671
670extern void w32_sys_ring_bell (struct frame *f); 672extern void w32_sys_ring_bell (struct frame *f);
671extern void x_delete_display (struct w32_display_info *dpyinfo); 673extern void x_delete_display (struct w32_display_info *dpyinfo);
@@ -725,7 +727,7 @@ struct frame * check_x_frame (Lisp_Object);
725EXFUN (Fx_display_color_p, 1); 727EXFUN (Fx_display_color_p, 1);
726EXFUN (Fx_display_grayscale_p, 1); 728EXFUN (Fx_display_grayscale_p, 1);
727 729
728typedef DWORD (WINAPI * ClipboardSequence_Proc) (); 730typedef DWORD (WINAPI * ClipboardSequence_Proc) (void);
729typedef BOOL (WINAPI * AppendMenuW_Proc) ( 731typedef BOOL (WINAPI * AppendMenuW_Proc) (
730 IN HMENU, 732 IN HMENU,
731 IN UINT, 733 IN UINT,