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/buffer.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/buffer.c')
| -rw-r--r-- | src/buffer.c | 48 |
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]; | |||
| 106 | int last_per_buffer_idx; | 106 | int last_per_buffer_idx; |
| 107 | 107 | ||
| 108 | EXFUN (Fset_buffer, 1); | 108 | EXFUN (Fset_buffer, 1); |
| 109 | void set_buffer_internal P_ ((struct buffer *b)); | 109 | void set_buffer_internal (struct buffer *b); |
| 110 | void set_buffer_internal_1 P_ ((struct buffer *b)); | 110 | void set_buffer_internal_1 (struct buffer *b); |
| 111 | static void call_overlay_mod_hooks P_ ((Lisp_Object list, Lisp_Object overlay, | 111 | static 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); |
| 114 | static void swap_out_buffer_local_variables P_ ((struct buffer *b)); | 114 | static void swap_out_buffer_local_variables (struct buffer *b); |
| 115 | static void reset_buffer_local_variables P_ ((struct buffer *b, int permanent_too)); | 115 | static 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; | |||
| 168 | Lisp_Object Qinsert_in_front_hooks; | 168 | Lisp_Object Qinsert_in_front_hooks; |
| 169 | Lisp_Object Qinsert_behind_hooks; | 169 | Lisp_Object Qinsert_behind_hooks; |
| 170 | 170 | ||
| 171 | static void alloc_buffer_text P_ ((struct buffer *, size_t)); | 171 | static void alloc_buffer_text (struct buffer *, size_t); |
| 172 | static void free_buffer_text P_ ((struct buffer *b)); | 172 | static void free_buffer_text (struct buffer *b); |
| 173 | static struct Lisp_Overlay * copy_overlays P_ ((struct buffer *, struct Lisp_Overlay *)); | 173 | static struct Lisp_Overlay * copy_overlays (struct buffer *, struct Lisp_Overlay *); |
| 174 | static void modify_overlay P_ ((struct buffer *, EMACS_INT, EMACS_INT)); | 174 | static void modify_overlay (struct buffer *, EMACS_INT, EMACS_INT); |
| 175 | static Lisp_Object buffer_lisp_local_variables P_ ((struct buffer *)); | 175 | static Lisp_Object buffer_lisp_local_variables (struct buffer *); |
| 176 | 176 | ||
| 177 | extern char * emacs_strerror P_ ((int)); | 177 | extern 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 |
| 2178 | extern void r_alloc_reset_variable P_ ((POINTER_TYPE *, POINTER_TYPE *)); | 2178 | extern void r_alloc_reset_variable (POINTER_TYPE *, POINTER_TYPE *); |
| 2179 | #endif /* REL_ALLOC */ | 2179 | #endif /* REL_ALLOC */ |
| 2180 | 2180 | ||
| 2181 | DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, | 2181 | DEFUN ("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 | ||
| 4696 | static int mmap_free_1 P_ ((struct mmap_region *)); | 4696 | static int mmap_free_1 (struct mmap_region *); |
| 4697 | static int mmap_enlarge P_ ((struct mmap_region *, int)); | 4697 | static int mmap_enlarge (struct mmap_region *, int); |
| 4698 | static struct mmap_region *mmap_find P_ ((POINTER_TYPE *, POINTER_TYPE *)); | 4698 | static struct mmap_region *mmap_find (POINTER_TYPE *, POINTER_TYPE *); |
| 4699 | static POINTER_TYPE *mmap_alloc P_ ((POINTER_TYPE **, size_t)); | 4699 | static POINTER_TYPE *mmap_alloc (POINTER_TYPE **, size_t); |
| 4700 | static POINTER_TYPE *mmap_realloc P_ ((POINTER_TYPE **, size_t)); | 4700 | static POINTER_TYPE *mmap_realloc (POINTER_TYPE **, size_t); |
| 4701 | static void mmap_free P_ ((POINTER_TYPE **ptr)); | 4701 | static void mmap_free (POINTER_TYPE **ptr); |
| 4702 | static void mmap_init P_ ((void)); | 4702 | static 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 |
| 5035 | extern POINTER_TYPE *r_alloc P_ ((POINTER_TYPE **, size_t)); | 5035 | extern POINTER_TYPE *r_alloc (POINTER_TYPE **, size_t); |
| 5036 | extern POINTER_TYPE *r_re_alloc P_ ((POINTER_TYPE **, size_t)); | 5036 | extern POINTER_TYPE *r_re_alloc (POINTER_TYPE **, size_t); |
| 5037 | extern void r_alloc_free P_ ((POINTER_TYPE **ptr)); | 5037 | extern void r_alloc_free (POINTER_TYPE **ptr); |
| 5038 | #endif /* REL_ALLOC */ | 5038 | #endif /* REL_ALLOC */ |
| 5039 | 5039 | ||
| 5040 | 5040 | ||