diff options
| author | Jan D | 2010-07-02 14:19:53 +0200 |
|---|---|---|
| committer | Jan D | 2010-07-02 14:19:53 +0200 |
| commit | f57e2426f0e8a6b251be71b6f62237fd286998ea (patch) | |
| tree | a8db36e415ea69b4196881b44122454317510f46 /src/w32term.c | |
| parent | 383e09700c9b3d175c506301d363be4597827db7 (diff) | |
| download | emacs-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.c | 126 |
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. */ |
| 235 | static int keyboard_codepage; | 235 | static int keyboard_codepage; |
| 236 | 236 | ||
| 237 | static void x_update_window_end P_ ((struct window *, int, int)); | 237 | static void x_update_window_end (struct window *, int, int); |
| 238 | static void w32_handle_tool_bar_click P_ ((struct frame *, | 238 | static void w32_handle_tool_bar_click (struct frame *, |
| 239 | struct input_event *)); | 239 | struct input_event *); |
| 240 | static void w32_define_cursor P_ ((Window, Cursor)); | 240 | static void w32_define_cursor (Window, Cursor); |
| 241 | 241 | ||
| 242 | void x_lower_frame P_ ((struct frame *)); | 242 | void x_lower_frame (struct frame *); |
| 243 | void x_scroll_bar_clear P_ ((struct frame *)); | 243 | void x_scroll_bar_clear (struct frame *); |
| 244 | void x_wm_set_size_hint P_ ((struct frame *, long, int)); | 244 | void x_wm_set_size_hint (struct frame *, long, int); |
| 245 | void x_raise_frame P_ ((struct frame *)); | 245 | void x_raise_frame (struct frame *); |
| 246 | void x_set_window_size P_ ((struct frame *, int, int, int)); | 246 | void x_set_window_size (struct frame *, int, int, int); |
| 247 | void x_wm_set_window_state P_ ((struct frame *, int)); | 247 | void x_wm_set_window_state (struct frame *, int); |
| 248 | void x_wm_set_icon_pixmap P_ ((struct frame *, int)); | 248 | void x_wm_set_icon_pixmap (struct frame *, int); |
| 249 | static void w32_initialize P_ ((void)); | 249 | static void w32_initialize (void); |
| 250 | static void x_update_end P_ ((struct frame *)); | 250 | static void x_update_end (struct frame *); |
| 251 | static void w32_frame_up_to_date P_ ((struct frame *)); | 251 | static void w32_frame_up_to_date (struct frame *); |
| 252 | static void w32_set_terminal_modes P_ ((struct terminal *)); | 252 | static void w32_set_terminal_modes (struct terminal *); |
| 253 | static void w32_reset_terminal_modes P_ ((struct terminal *)); | 253 | static void w32_reset_terminal_modes (struct terminal *); |
| 254 | static void x_clear_frame P_ ((struct frame *)); | 254 | static void x_clear_frame (struct frame *); |
| 255 | static void frame_highlight P_ ((struct frame *)); | 255 | static void frame_highlight (struct frame *); |
| 256 | static void frame_unhighlight P_ ((struct frame *)); | 256 | static void frame_unhighlight (struct frame *); |
| 257 | static void x_new_focus_frame P_ ((struct w32_display_info *, | 257 | static void x_new_focus_frame (struct w32_display_info *, |
| 258 | struct frame *)); | 258 | struct frame *); |
| 259 | static void x_focus_changed P_ ((int, int, struct w32_display_info *, | 259 | static void x_focus_changed (int, int, struct w32_display_info *, |
| 260 | struct frame *, struct input_event *)); | 260 | struct frame *, struct input_event *); |
| 261 | static void w32_detect_focus_change P_ ((struct w32_display_info *, | 261 | static void w32_detect_focus_change (struct w32_display_info *, |
| 262 | W32Msg *, struct input_event *)); | 262 | W32Msg *, struct input_event *); |
| 263 | static void w32_frame_rehighlight P_ ((struct frame *)); | 263 | static void w32_frame_rehighlight (struct frame *); |
| 264 | static void x_frame_rehighlight P_ ((struct w32_display_info *)); | 264 | static void x_frame_rehighlight (struct w32_display_info *); |
| 265 | static void x_draw_hollow_cursor P_ ((struct window *, struct glyph_row *)); | 265 | static void x_draw_hollow_cursor (struct window *, struct glyph_row *); |
| 266 | static void x_draw_bar_cursor P_ ((struct window *, struct glyph_row *, int, | 266 | static void x_draw_bar_cursor (struct window *, struct glyph_row *, int, |
| 267 | enum text_cursor_kinds)); | 267 | enum text_cursor_kinds); |
| 268 | static void w32_clip_to_row P_ ((struct window *, struct glyph_row *, int, HDC)); | 268 | static void w32_clip_to_row (struct window *, struct glyph_row *, int, HDC); |
| 269 | static BOOL my_show_window P_ ((struct frame *, HWND, int)); | 269 | static BOOL my_show_window (struct frame *, HWND, int); |
| 270 | static void my_set_window_pos P_ ((HWND, HWND, int, int, int, int, UINT)); | 270 | static void my_set_window_pos (HWND, HWND, int, int, int, int, UINT); |
| 271 | static void my_set_focus P_ ((struct frame *, HWND)); | 271 | static void my_set_focus (struct frame *, HWND); |
| 272 | static void my_set_foreground_window P_ ((HWND)); | 272 | static void my_set_foreground_window (HWND); |
| 273 | static void my_destroy_window P_ ((struct frame *, HWND)); | 273 | static void my_destroy_window (struct frame *, HWND); |
| 274 | 274 | ||
| 275 | static Lisp_Object Qvendor_specific_keysyms; | 275 | static 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 | ||
| 950 | static void x_set_glyph_string_clipping P_ ((struct glyph_string *)); | 950 | static void x_set_glyph_string_clipping (struct glyph_string *); |
| 951 | static void x_set_glyph_string_gc P_ ((struct glyph_string *)); | 951 | static void x_set_glyph_string_gc (struct glyph_string *); |
| 952 | static void x_draw_glyph_string_background P_ ((struct glyph_string *, | 952 | static void x_draw_glyph_string_background (struct glyph_string *, |
| 953 | int)); | 953 | int); |
| 954 | static void x_draw_glyph_string_foreground P_ ((struct glyph_string *)); | 954 | static void x_draw_glyph_string_foreground (struct glyph_string *); |
| 955 | static void x_draw_composite_glyph_string_foreground P_ ((struct glyph_string *)); | 955 | static void x_draw_composite_glyph_string_foreground (struct glyph_string *); |
| 956 | static void x_draw_glyph_string_box P_ ((struct glyph_string *)); | 956 | static void x_draw_glyph_string_box (struct glyph_string *); |
| 957 | static void x_draw_glyph_string P_ ((struct glyph_string *)); | 957 | static void x_draw_glyph_string (struct glyph_string *); |
| 958 | static void x_set_cursor_gc P_ ((struct glyph_string *)); | 958 | static void x_set_cursor_gc (struct glyph_string *); |
| 959 | static void x_set_mode_line_face_gc P_ ((struct glyph_string *)); | 959 | static void x_set_mode_line_face_gc (struct glyph_string *); |
| 960 | static void x_set_mouse_face_gc P_ ((struct glyph_string *)); | 960 | static void x_set_mouse_face_gc (struct glyph_string *); |
| 961 | static int w32_alloc_lighter_color (struct frame *, COLORREF *, double, int); | 961 | static int w32_alloc_lighter_color (struct frame *, COLORREF *, double, int); |
| 962 | static void w32_setup_relief_color P_ ((struct frame *, struct relief *, | 962 | static void w32_setup_relief_color (struct frame *, struct relief *, |
| 963 | double, int, COLORREF)); | 963 | double, int, COLORREF); |
| 964 | static void x_setup_relief_colors P_ ((struct glyph_string *)); | 964 | static void x_setup_relief_colors (struct glyph_string *); |
| 965 | static void x_draw_image_glyph_string P_ ((struct glyph_string *)); | 965 | static void x_draw_image_glyph_string (struct glyph_string *); |
| 966 | static void x_draw_image_relief P_ ((struct glyph_string *)); | 966 | static void x_draw_image_relief (struct glyph_string *); |
| 967 | static void x_draw_image_foreground P_ ((struct glyph_string *)); | 967 | static void x_draw_image_foreground (struct glyph_string *); |
| 968 | static void w32_draw_image_foreground_1 P_ ((struct glyph_string *, HBITMAP)); | 968 | static void w32_draw_image_foreground_1 (struct glyph_string *, HBITMAP); |
| 969 | static void x_clear_glyph_string_rect P_ ((struct glyph_string *, int, | 969 | static void x_clear_glyph_string_rect (struct glyph_string *, int, |
| 970 | int, int, int)); | 970 | int, int, int); |
| 971 | static void w32_draw_relief_rect P_ ((struct frame *, int, int, int, int, | 971 | static 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 *); |
| 974 | static void w32_draw_box_rect P_ ((struct glyph_string *, int, int, int, int, | 974 | static 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 | ||
| 3171 | static struct scroll_bar *x_window_to_scroll_bar (); | 3171 | static struct scroll_bar *x_window_to_scroll_bar (); |
| 3172 | static void x_scroll_bar_report_motion (); | 3172 | static void x_scroll_bar_report_motion (); |
| 3173 | static void x_check_fullscreen P_ ((struct frame *)); | 3173 | static void x_check_fullscreen (struct frame *); |
| 3174 | 3174 | ||
| 3175 | static void | 3175 | static void |
| 3176 | redo_mouse_highlight () | 3176 | redo_mouse_highlight () |