aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorJan D2010-07-02 14:19:53 +0200
committerJan D2010-07-02 14:19:53 +0200
commitf57e2426f0e8a6b251be71b6f62237fd286998ea (patch)
treea8db36e415ea69b4196881b44122454317510f46 /src/w32term.c
parent383e09700c9b3d175c506301d363be4597827db7 (diff)
downloademacs-f57e2426f0e8a6b251be71b6f62237fd286998ea.tar.gz
emacs-f57e2426f0e8a6b251be71b6f62237fd286998ea.zip
Remove __P and P_ from .c and .m files and definition of P_
* lisp.h: * atimer.h: Remove define for P_. * alloc.c: Remove __P and P_ from .c and .m files. * atimer.c: * buffer.c: * callint.c: * category.c: * charset.c: * chartab.c: * cm.c: * coding.c: * composite.c: * data.c: * dired.c: * dispnew.c: * doc.c: * editfns.c: * emacs.c: * eval.c: * fileio.c: * filelock.c: * fns.c: * font.c: * fontset.c: * frame.c: * ftfont.c: * ftxfont.c: * gmalloc.c: * gtkutil.c: * image.c: * indent.c: * intervals.c: * keyboard.c: * keymap.c: * lread.c: * marker.c: * menu.c: * minibuf.c: * print.c: * process.c: * scroll.c: * search.c: * sound.c: * strftime.c: * syntax.c: * sysdep.c: * term.c: * terminal.c: * textprop.c: * unexalpha.c: * w32console.c: * w32fns.c: * w32font.c: * w32menu.c: * w32term.c: * w32uniscribe.c: * window.c: * xdisp.c: * xfaces.c: * xfns.c: * xfont.c: * xftfont.c: * xmenu.c: * xselect.c: * xterm.c: Likewise. * ebrowse.c: Remove P_ and __P. * etags.c: * movemail.c: * pop.c: * update-game-score.c: Likewise.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c126
1 files changed, 63 insertions, 63 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 0b71b7e02b7..1acb77e7b16 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -234,43 +234,43 @@ extern EMACS_INT extra_keyboard_modifiers;
234/* Keyboard code page - may be changed by language-change events. */ 234/* Keyboard code page - may be changed by language-change events. */
235static int keyboard_codepage; 235static int keyboard_codepage;
236 236
237static void x_update_window_end P_ ((struct window *, int, int)); 237static void x_update_window_end (struct window *, int, int);
238static void w32_handle_tool_bar_click P_ ((struct frame *, 238static void w32_handle_tool_bar_click (struct frame *,
239 struct input_event *)); 239 struct input_event *);
240static void w32_define_cursor P_ ((Window, Cursor)); 240static void w32_define_cursor (Window, Cursor);
241 241
242void x_lower_frame P_ ((struct frame *)); 242void x_lower_frame (struct frame *);
243void x_scroll_bar_clear P_ ((struct frame *)); 243void x_scroll_bar_clear (struct frame *);
244void x_wm_set_size_hint P_ ((struct frame *, long, int)); 244void x_wm_set_size_hint (struct frame *, long, int);
245void x_raise_frame P_ ((struct frame *)); 245void x_raise_frame (struct frame *);
246void x_set_window_size P_ ((struct frame *, int, int, int)); 246void x_set_window_size (struct frame *, int, int, int);
247void x_wm_set_window_state P_ ((struct frame *, int)); 247void x_wm_set_window_state (struct frame *, int);
248void x_wm_set_icon_pixmap P_ ((struct frame *, int)); 248void x_wm_set_icon_pixmap (struct frame *, int);
249static void w32_initialize P_ ((void)); 249static void w32_initialize (void);
250static void x_update_end P_ ((struct frame *)); 250static void x_update_end (struct frame *);
251static void w32_frame_up_to_date P_ ((struct frame *)); 251static void w32_frame_up_to_date (struct frame *);
252static void w32_set_terminal_modes P_ ((struct terminal *)); 252static void w32_set_terminal_modes (struct terminal *);
253static void w32_reset_terminal_modes P_ ((struct terminal *)); 253static void w32_reset_terminal_modes (struct terminal *);
254static void x_clear_frame P_ ((struct frame *)); 254static void x_clear_frame (struct frame *);
255static void frame_highlight P_ ((struct frame *)); 255static void frame_highlight (struct frame *);
256static void frame_unhighlight P_ ((struct frame *)); 256static void frame_unhighlight (struct frame *);
257static void x_new_focus_frame P_ ((struct w32_display_info *, 257static void x_new_focus_frame (struct w32_display_info *,
258 struct frame *)); 258 struct frame *);
259static void x_focus_changed P_ ((int, int, struct w32_display_info *, 259static void x_focus_changed (int, int, struct w32_display_info *,
260 struct frame *, struct input_event *)); 260 struct frame *, struct input_event *);
261static void w32_detect_focus_change P_ ((struct w32_display_info *, 261static void w32_detect_focus_change (struct w32_display_info *,
262 W32Msg *, struct input_event *)); 262 W32Msg *, struct input_event *);
263static void w32_frame_rehighlight P_ ((struct frame *)); 263static void w32_frame_rehighlight (struct frame *);
264static void x_frame_rehighlight P_ ((struct w32_display_info *)); 264static void x_frame_rehighlight (struct w32_display_info *);
265static void x_draw_hollow_cursor P_ ((struct window *, struct glyph_row *)); 265static void x_draw_hollow_cursor (struct window *, struct glyph_row *);
266static void x_draw_bar_cursor P_ ((struct window *, struct glyph_row *, int, 266static void x_draw_bar_cursor (struct window *, struct glyph_row *, int,
267 enum text_cursor_kinds)); 267 enum text_cursor_kinds);
268static void w32_clip_to_row P_ ((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 P_ ((struct frame *, HWND, int)); 269static BOOL my_show_window (struct frame *, HWND, int);
270static void my_set_window_pos P_ ((HWND, HWND, int, int, int, int, UINT)); 270static void my_set_window_pos (HWND, HWND, int, int, int, int, UINT);
271static void my_set_focus P_ ((struct frame *, HWND)); 271static void my_set_focus (struct frame *, HWND);
272static void my_set_foreground_window P_ ((HWND)); 272static void my_set_foreground_window (HWND);
273static void my_destroy_window P_ ((struct frame *, HWND)); 273static void my_destroy_window (struct frame *, HWND);
274 274
275static Lisp_Object Qvendor_specific_keysyms; 275static Lisp_Object Qvendor_specific_keysyms;
276 276
@@ -947,32 +947,32 @@ w32_reset_terminal_modes (struct terminal *term)
947 947
948/* Function prototypes of this page. */ 948/* Function prototypes of this page. */
949 949
950static void x_set_glyph_string_clipping P_ ((struct glyph_string *)); 950static void x_set_glyph_string_clipping (struct glyph_string *);
951static void x_set_glyph_string_gc P_ ((struct glyph_string *)); 951static void x_set_glyph_string_gc (struct glyph_string *);
952static void x_draw_glyph_string_background P_ ((struct glyph_string *, 952static void x_draw_glyph_string_background (struct glyph_string *,
953 int)); 953 int);
954static void x_draw_glyph_string_foreground P_ ((struct glyph_string *)); 954static void x_draw_glyph_string_foreground (struct glyph_string *);
955static void x_draw_composite_glyph_string_foreground P_ ((struct glyph_string *)); 955static void x_draw_composite_glyph_string_foreground (struct glyph_string *);
956static void x_draw_glyph_string_box P_ ((struct glyph_string *)); 956static void x_draw_glyph_string_box (struct glyph_string *);
957static void x_draw_glyph_string P_ ((struct glyph_string *)); 957static void x_draw_glyph_string (struct glyph_string *);
958static void x_set_cursor_gc P_ ((struct glyph_string *)); 958static void x_set_cursor_gc (struct glyph_string *);
959static void x_set_mode_line_face_gc P_ ((struct glyph_string *)); 959static void x_set_mode_line_face_gc (struct glyph_string *);
960static void x_set_mouse_face_gc P_ ((struct glyph_string *)); 960static void x_set_mouse_face_gc (struct glyph_string *);
961static int w32_alloc_lighter_color (struct frame *, COLORREF *, double, int); 961static int w32_alloc_lighter_color (struct frame *, COLORREF *, double, int);
962static void w32_setup_relief_color P_ ((struct frame *, struct relief *, 962static void w32_setup_relief_color (struct frame *, struct relief *,
963 double, int, COLORREF)); 963 double, int, COLORREF);
964static void x_setup_relief_colors P_ ((struct glyph_string *)); 964static void x_setup_relief_colors (struct glyph_string *);
965static void x_draw_image_glyph_string P_ ((struct glyph_string *)); 965static void x_draw_image_glyph_string (struct glyph_string *);
966static void x_draw_image_relief P_ ((struct glyph_string *)); 966static void x_draw_image_relief (struct glyph_string *);
967static void x_draw_image_foreground P_ ((struct glyph_string *)); 967static void x_draw_image_foreground (struct glyph_string *);
968static void w32_draw_image_foreground_1 P_ ((struct glyph_string *, HBITMAP)); 968static void w32_draw_image_foreground_1 (struct glyph_string *, HBITMAP);
969static void x_clear_glyph_string_rect P_ ((struct glyph_string *, int, 969static void x_clear_glyph_string_rect (struct glyph_string *, int,
970 int, int, int)); 970 int, int, int);
971static void w32_draw_relief_rect P_ ((struct frame *, int, int, int, int, 971static void w32_draw_relief_rect (struct frame *, int, int, int, int,
972 int, int, int, int, int, int, 972 int, int, int, int, int, int,
973 RECT *)); 973 RECT *);
974static void w32_draw_box_rect P_ ((struct glyph_string *, int, int, int, int, 974static void w32_draw_box_rect (struct glyph_string *, int, int, int, int,
975 int, int, int, RECT *)); 975 int, int, int, RECT *);
976 976
977 977
978/* Set S->gc to a suitable GC for drawing glyph string S in cursor 978/* Set S->gc to a suitable GC for drawing glyph string S in cursor
@@ -3170,7 +3170,7 @@ note_mouse_movement (frame, msg)
3170 3170
3171static struct scroll_bar *x_window_to_scroll_bar (); 3171static struct scroll_bar *x_window_to_scroll_bar ();
3172static void x_scroll_bar_report_motion (); 3172static void x_scroll_bar_report_motion ();
3173static void x_check_fullscreen P_ ((struct frame *)); 3173static void x_check_fullscreen (struct frame *);
3174 3174
3175static void 3175static void
3176redo_mouse_highlight () 3176redo_mouse_highlight ()