aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.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/buffer.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/buffer.c')
-rw-r--r--src/buffer.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 589266f40e5..0dfad93b3e7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -106,13 +106,13 @@ static char buffer_permanent_local_flags[MAX_PER_BUFFER_VARS];
106int last_per_buffer_idx; 106int last_per_buffer_idx;
107 107
108EXFUN (Fset_buffer, 1); 108EXFUN (Fset_buffer, 1);
109void set_buffer_internal P_ ((struct buffer *b)); 109void set_buffer_internal (struct buffer *b);
110void set_buffer_internal_1 P_ ((struct buffer *b)); 110void set_buffer_internal_1 (struct buffer *b);
111static void call_overlay_mod_hooks P_ ((Lisp_Object list, Lisp_Object overlay, 111static void call_overlay_mod_hooks (Lisp_Object list, Lisp_Object overlay,
112 int after, Lisp_Object arg1, 112 int after, Lisp_Object arg1,
113 Lisp_Object arg2, Lisp_Object arg3)); 113 Lisp_Object arg2, Lisp_Object arg3);
114static void swap_out_buffer_local_variables P_ ((struct buffer *b)); 114static void swap_out_buffer_local_variables (struct buffer *b);
115static void reset_buffer_local_variables P_ ((struct buffer *b, int permanent_too)); 115static void reset_buffer_local_variables (struct buffer *b, int permanent_too);
116 116
117/* Alist of all buffer names vs the buffers. */ 117/* Alist of all buffer names vs the buffers. */
118/* This used to be a variable, but is no longer, 118/* This used to be a variable, but is no longer,
@@ -168,13 +168,13 @@ Lisp_Object Qmodification_hooks;
168Lisp_Object Qinsert_in_front_hooks; 168Lisp_Object Qinsert_in_front_hooks;
169Lisp_Object Qinsert_behind_hooks; 169Lisp_Object Qinsert_behind_hooks;
170 170
171static void alloc_buffer_text P_ ((struct buffer *, size_t)); 171static void alloc_buffer_text (struct buffer *, size_t);
172static void free_buffer_text P_ ((struct buffer *b)); 172static void free_buffer_text (struct buffer *b);
173static struct Lisp_Overlay * copy_overlays P_ ((struct buffer *, struct Lisp_Overlay *)); 173static struct Lisp_Overlay * copy_overlays (struct buffer *, struct Lisp_Overlay *);
174static void modify_overlay P_ ((struct buffer *, EMACS_INT, EMACS_INT)); 174static void modify_overlay (struct buffer *, EMACS_INT, EMACS_INT);
175static Lisp_Object buffer_lisp_local_variables P_ ((struct buffer *)); 175static Lisp_Object buffer_lisp_local_variables (struct buffer *);
176 176
177extern char * emacs_strerror P_ ((int)); 177extern char * emacs_strerror (int);
178 178
179/* For debugging; temporary. See set_buffer_internal. */ 179/* For debugging; temporary. See set_buffer_internal. */
180/* Lisp_Object Qlisp_mode, Vcheck_symbol; */ 180/* Lisp_Object Qlisp_mode, Vcheck_symbol; */
@@ -2175,7 +2175,7 @@ advance_to_char_boundary (byte_pos)
2175} 2175}
2176 2176
2177#ifdef REL_ALLOC 2177#ifdef REL_ALLOC
2178extern void r_alloc_reset_variable P_ ((POINTER_TYPE *, POINTER_TYPE *)); 2178extern void r_alloc_reset_variable (POINTER_TYPE *, POINTER_TYPE *);
2179#endif /* REL_ALLOC */ 2179#endif /* REL_ALLOC */
2180 2180
2181DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, 2181DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
@@ -4693,13 +4693,13 @@ static int mmap_initialized_p;
4693 4693
4694/* Function prototypes. */ 4694/* Function prototypes. */
4695 4695
4696static int mmap_free_1 P_ ((struct mmap_region *)); 4696static int mmap_free_1 (struct mmap_region *);
4697static int mmap_enlarge P_ ((struct mmap_region *, int)); 4697static int mmap_enlarge (struct mmap_region *, int);
4698static struct mmap_region *mmap_find P_ ((POINTER_TYPE *, POINTER_TYPE *)); 4698static struct mmap_region *mmap_find (POINTER_TYPE *, POINTER_TYPE *);
4699static POINTER_TYPE *mmap_alloc P_ ((POINTER_TYPE **, size_t)); 4699static POINTER_TYPE *mmap_alloc (POINTER_TYPE **, size_t);
4700static POINTER_TYPE *mmap_realloc P_ ((POINTER_TYPE **, size_t)); 4700static POINTER_TYPE *mmap_realloc (POINTER_TYPE **, size_t);
4701static void mmap_free P_ ((POINTER_TYPE **ptr)); 4701static void mmap_free (POINTER_TYPE **ptr);
4702static void mmap_init P_ ((void)); 4702static void mmap_init (void);
4703 4703
4704 4704
4705/* Return a region overlapping address range START...END, or null if 4705/* Return a region overlapping address range START...END, or null if
@@ -5032,9 +5032,9 @@ mmap_init ()
5032 ***********************************************************************/ 5032 ***********************************************************************/
5033 5033
5034#ifdef REL_ALLOC 5034#ifdef REL_ALLOC
5035extern POINTER_TYPE *r_alloc P_ ((POINTER_TYPE **, size_t)); 5035extern POINTER_TYPE *r_alloc (POINTER_TYPE **, size_t);
5036extern POINTER_TYPE *r_re_alloc P_ ((POINTER_TYPE **, size_t)); 5036extern POINTER_TYPE *r_re_alloc (POINTER_TYPE **, size_t);
5037extern void r_alloc_free P_ ((POINTER_TYPE **ptr)); 5037extern void r_alloc_free (POINTER_TYPE **ptr);
5038#endif /* REL_ALLOC */ 5038#endif /* REL_ALLOC */
5039 5039
5040 5040