aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.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/window.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/window.c')
-rw-r--r--src/window.c66
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
60extern Lisp_Object Qleft_margin, Qright_margin; 60extern Lisp_Object Qleft_margin, Qright_margin;
61 61
62static int displayed_window_lines P_ ((struct window *)); 62static int displayed_window_lines (struct window *);
63static struct window *decode_window P_ ((Lisp_Object)); 63static struct window *decode_window (Lisp_Object);
64static int count_windows P_ ((struct window *)); 64static int count_windows (struct window *);
65static int get_leaf_windows P_ ((struct window *, struct window **, int)); 65static int get_leaf_windows (struct window *, struct window **, int);
66static void window_scroll P_ ((Lisp_Object, int, int, int)); 66static void window_scroll (Lisp_Object, int, int, int);
67static void window_scroll_pixel_based P_ ((Lisp_Object, int, int, int)); 67static void window_scroll_pixel_based (Lisp_Object, int, int, int);
68static void window_scroll_line_based P_ ((Lisp_Object, int, int, int)); 68static void window_scroll_line_based (Lisp_Object, int, int, int);
69static int window_min_size_1 P_ ((struct window *, int, int)); 69static int window_min_size_1 (struct window *, int, int);
70static int window_min_size_2 P_ ((struct window *, int, int)); 70static int window_min_size_2 (struct window *, int, int);
71static int window_min_size P_ ((struct window *, int, int, int, int *)); 71static int window_min_size (struct window *, int, int, int, int *);
72static void size_window P_ ((Lisp_Object, int, int, int, int, int)); 72static void size_window (Lisp_Object, int, int, int, int, int);
73static int freeze_window_start P_ ((struct window *, void *)); 73static int freeze_window_start (struct window *, void *);
74static int window_fixed_size_p P_ ((struct window *, int, int)); 74static int window_fixed_size_p (struct window *, int, int);
75static void enlarge_window P_ ((Lisp_Object, int, int)); 75static void enlarge_window (Lisp_Object, int, int);
76static Lisp_Object window_list P_ ((void)); 76static Lisp_Object window_list (void);
77static int add_window_to_list P_ ((struct window *, void *)); 77static int add_window_to_list (struct window *, void *);
78static int candidate_window_p P_ ((Lisp_Object, Lisp_Object, Lisp_Object, 78static int candidate_window_p (Lisp_Object, Lisp_Object, Lisp_Object,
79 Lisp_Object)); 79 Lisp_Object);
80static Lisp_Object next_window P_ ((Lisp_Object, Lisp_Object, 80static Lisp_Object next_window (Lisp_Object, Lisp_Object,
81 Lisp_Object, int)); 81 Lisp_Object, int);
82static void decode_next_window_args P_ ((Lisp_Object *, Lisp_Object *, 82static void decode_next_window_args (Lisp_Object *, Lisp_Object *,
83 Lisp_Object *)); 83 Lisp_Object *);
84static int foreach_window_1 P_ ((struct window *, 84static int foreach_window_1 (struct window *,
85 int (* fn) (struct window *, void *), 85 int (* fn) (struct window *, void *),
86 void *)); 86 void *);
87static Lisp_Object window_list_1 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 87static 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
4557static void shrink_window_lowest_first P_ ((struct window *, int)); 4557static void shrink_window_lowest_first (struct window *, int);
4558 4558
4559enum save_restore_action 4559enum 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
4566static int save_restore_orig_size P_ ((struct window *, 4566static 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. */)
7012void 7012void
7013foreach_window (f, fn, user_data) 7013foreach_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)
7029static int 7029static int
7030foreach_window_1 (w, fn, user_data) 7030foreach_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;