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/window.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/window.c')
| -rw-r--r-- | src/window.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/window.c b/src/window.c index d77c6208693..950b9936497 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -59,32 +59,32 @@ Lisp_Object Qwindow_size_fixed; | |||
| 59 | 59 | ||
| 60 | extern Lisp_Object Qleft_margin, Qright_margin; | 60 | extern Lisp_Object Qleft_margin, Qright_margin; |
| 61 | 61 | ||
| 62 | static int displayed_window_lines P_ ((struct window *)); | 62 | static int displayed_window_lines (struct window *); |
| 63 | static struct window *decode_window P_ ((Lisp_Object)); | 63 | static struct window *decode_window (Lisp_Object); |
| 64 | static int count_windows P_ ((struct window *)); | 64 | static int count_windows (struct window *); |
| 65 | static int get_leaf_windows P_ ((struct window *, struct window **, int)); | 65 | static int get_leaf_windows (struct window *, struct window **, int); |
| 66 | static void window_scroll P_ ((Lisp_Object, int, int, int)); | 66 | static void window_scroll (Lisp_Object, int, int, int); |
| 67 | static void window_scroll_pixel_based P_ ((Lisp_Object, int, int, int)); | 67 | static void window_scroll_pixel_based (Lisp_Object, int, int, int); |
| 68 | static void window_scroll_line_based P_ ((Lisp_Object, int, int, int)); | 68 | static void window_scroll_line_based (Lisp_Object, int, int, int); |
| 69 | static int window_min_size_1 P_ ((struct window *, int, int)); | 69 | static int window_min_size_1 (struct window *, int, int); |
| 70 | static int window_min_size_2 P_ ((struct window *, int, int)); | 70 | static int window_min_size_2 (struct window *, int, int); |
| 71 | static int window_min_size P_ ((struct window *, int, int, int, int *)); | 71 | static int window_min_size (struct window *, int, int, int, int *); |
| 72 | static void size_window P_ ((Lisp_Object, int, int, int, int, int)); | 72 | static void size_window (Lisp_Object, int, int, int, int, int); |
| 73 | static int freeze_window_start P_ ((struct window *, void *)); | 73 | static int freeze_window_start (struct window *, void *); |
| 74 | static int window_fixed_size_p P_ ((struct window *, int, int)); | 74 | static int window_fixed_size_p (struct window *, int, int); |
| 75 | static void enlarge_window P_ ((Lisp_Object, int, int)); | 75 | static void enlarge_window (Lisp_Object, int, int); |
| 76 | static Lisp_Object window_list P_ ((void)); | 76 | static Lisp_Object window_list (void); |
| 77 | static int add_window_to_list P_ ((struct window *, void *)); | 77 | static int add_window_to_list (struct window *, void *); |
| 78 | static int candidate_window_p P_ ((Lisp_Object, Lisp_Object, Lisp_Object, | 78 | static int candidate_window_p (Lisp_Object, Lisp_Object, Lisp_Object, |
| 79 | Lisp_Object)); | 79 | Lisp_Object); |
| 80 | static Lisp_Object next_window P_ ((Lisp_Object, Lisp_Object, | 80 | static Lisp_Object next_window (Lisp_Object, Lisp_Object, |
| 81 | Lisp_Object, int)); | 81 | Lisp_Object, int); |
| 82 | static void decode_next_window_args P_ ((Lisp_Object *, Lisp_Object *, | 82 | static void decode_next_window_args (Lisp_Object *, Lisp_Object *, |
| 83 | Lisp_Object *)); | 83 | Lisp_Object *); |
| 84 | static int foreach_window_1 P_ ((struct window *, | 84 | static int foreach_window_1 (struct window *, |
| 85 | int (* fn) (struct window *, void *), | 85 | int (* fn) (struct window *, void *), |
| 86 | void *)); | 86 | void *); |
| 87 | static Lisp_Object window_list_1 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 87 | static Lisp_Object window_list_1 (Lisp_Object, Lisp_Object, Lisp_Object); |
| 88 | 88 | ||
| 89 | /* This is the window in which the terminal's cursor should | 89 | /* This is the window in which the terminal's cursor should |
| 90 | be left when nothing is being done with it. This must | 90 | be left when nothing is being done with it. This must |
| @@ -4126,9 +4126,9 @@ enlarge_window (window, delta, horiz_flag) | |||
| 4126 | struct window *p; | 4126 | struct window *p; |
| 4127 | Lisp_Object *sizep; | 4127 | Lisp_Object *sizep; |
| 4128 | int maximum; | 4128 | int maximum; |
| 4129 | int (*sizefun) P_ ((Lisp_Object)) | 4129 | int (*sizefun) (Lisp_Object) |
| 4130 | = horiz_flag ? window_width : window_height; | 4130 | = horiz_flag ? window_width : window_height; |
| 4131 | void (*setsizefun) P_ ((Lisp_Object, int, int)) | 4131 | void (*setsizefun) (Lisp_Object, int, int) |
| 4132 | = (horiz_flag ? set_window_width : set_window_height); | 4132 | = (horiz_flag ? set_window_width : set_window_height); |
| 4133 | 4133 | ||
| 4134 | /* Give up if this window cannot be resized. */ | 4134 | /* Give up if this window cannot be resized. */ |
| @@ -4554,7 +4554,7 @@ are not deleted; instead, we signal an error. */) | |||
| 4554 | Resizing Mini-Windows | 4554 | Resizing Mini-Windows |
| 4555 | ***********************************************************************/ | 4555 | ***********************************************************************/ |
| 4556 | 4556 | ||
| 4557 | static void shrink_window_lowest_first P_ ((struct window *, int)); | 4557 | static void shrink_window_lowest_first (struct window *, int); |
| 4558 | 4558 | ||
| 4559 | enum save_restore_action | 4559 | enum save_restore_action |
| 4560 | { | 4560 | { |
| @@ -4563,8 +4563,8 @@ enum save_restore_action | |||
| 4563 | RESTORE_ORIG_SIZES | 4563 | RESTORE_ORIG_SIZES |
| 4564 | }; | 4564 | }; |
| 4565 | 4565 | ||
| 4566 | static int save_restore_orig_size P_ ((struct window *, | 4566 | static int save_restore_orig_size (struct window *, |
| 4567 | enum save_restore_action)); | 4567 | enum save_restore_action); |
| 4568 | 4568 | ||
| 4569 | /* Shrink windows rooted in window W to HEIGHT. Take the space needed | 4569 | /* Shrink windows rooted in window W to HEIGHT. Take the space needed |
| 4570 | from lowest windows first. */ | 4570 | from lowest windows first. */ |
| @@ -7012,7 +7012,7 @@ If PIXELS-P is non-nil, the return value is VSCROLL. */) | |||
| 7012 | void | 7012 | void |
| 7013 | foreach_window (f, fn, user_data) | 7013 | foreach_window (f, fn, user_data) |
| 7014 | struct frame *f; | 7014 | struct frame *f; |
| 7015 | int (* fn) P_ ((struct window *, void *)); | 7015 | int (* fn) (struct window *, void *); |
| 7016 | void *user_data; | 7016 | void *user_data; |
| 7017 | { | 7017 | { |
| 7018 | /* delete_frame may set FRAME_ROOT_WINDOW (f) to Qnil. */ | 7018 | /* delete_frame may set FRAME_ROOT_WINDOW (f) to Qnil. */ |
| @@ -7029,7 +7029,7 @@ foreach_window (f, fn, user_data) | |||
| 7029 | static int | 7029 | static int |
| 7030 | foreach_window_1 (w, fn, user_data) | 7030 | foreach_window_1 (w, fn, user_data) |
| 7031 | struct window *w; | 7031 | struct window *w; |
| 7032 | int (* fn) P_ ((struct window *, void *)); | 7032 | int (* fn) (struct window *, void *); |
| 7033 | void *user_data; | 7033 | void *user_data; |
| 7034 | { | 7034 | { |
| 7035 | int cont; | 7035 | int cont; |