aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.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/fns.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/fns.c')
-rw-r--r--src/fns.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/fns.c b/src/fns.c
index 3f984905d1e..a016d199c58 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -74,10 +74,10 @@ Lisp_Object Qcodeset, Qdays, Qmonths, Qpaper;
74 74
75extern Lisp_Object Qinput_method_function; 75extern Lisp_Object Qinput_method_function;
76 76
77static int internal_equal P_ ((Lisp_Object , Lisp_Object, int, int)); 77static int internal_equal (Lisp_Object , Lisp_Object, int, int);
78 78
79extern long get_random (); 79extern long get_random ();
80extern void seed_random P_ ((long)); 80extern void seed_random (long);
81 81
82#ifndef HAVE_UNISTD_H 82#ifndef HAVE_UNISTD_H
83extern long time (); 83extern long time ();
@@ -383,9 +383,9 @@ Symbols are also allowed; their print names are used instead. */)
383/* "gcc -O3" enables automatic function inlining, which optimizes out 383/* "gcc -O3" enables automatic function inlining, which optimizes out
384 the arguments for the invocations of this function, whereas it 384 the arguments for the invocations of this function, whereas it
385 expects these values on the stack. */ 385 expects these values on the stack. */
386static Lisp_Object concat P_ ((int nargs, Lisp_Object *args, enum Lisp_Type target_type, int last_special)) __attribute__((noinline)); 386static Lisp_Object concat (int nargs, Lisp_Object *args, enum Lisp_Type target_type, int last_special) __attribute__((noinline));
387#else /* !__GNUC__ */ 387#else /* !__GNUC__ */
388static Lisp_Object concat P_ ((int nargs, Lisp_Object *args, enum Lisp_Type target_type, int last_special)); 388static Lisp_Object concat (int nargs, Lisp_Object *args, enum Lisp_Type target_type, int last_special);
389#endif 389#endif
390 390
391/* ARGSUSED */ 391/* ARGSUSED */
@@ -3224,8 +3224,8 @@ static const short base64_char_to_value[128] =
3224 base64 characters. */ 3224 base64 characters. */
3225 3225
3226 3226
3227static int base64_encode_1 P_ ((const char *, char *, int, int, int)); 3227static int base64_encode_1 (const char *, char *, int, int, int);
3228static int base64_decode_1 P_ ((const char *, char *, int, int, int *)); 3228static int base64_decode_1 (const char *, char *, int, int, int *);
3229 3229
3230DEFUN ("base64-encode-region", Fbase64_encode_region, Sbase64_encode_region, 3230DEFUN ("base64-encode-region", Fbase64_encode_region, Sbase64_encode_region,
3231 2, 3, "r", 3231 2, 3, "r",
@@ -3652,25 +3652,25 @@ Lisp_Object Qhash_table_test, Qkey_or_value, Qkey_and_value;
3652 3652
3653/* Function prototypes. */ 3653/* Function prototypes. */
3654 3654
3655static struct Lisp_Hash_Table *check_hash_table P_ ((Lisp_Object)); 3655static struct Lisp_Hash_Table *check_hash_table (Lisp_Object);
3656static int get_key_arg P_ ((Lisp_Object, int, Lisp_Object *, char *)); 3656static int get_key_arg (Lisp_Object, int, Lisp_Object *, char *);
3657static void maybe_resize_hash_table P_ ((struct Lisp_Hash_Table *)); 3657static void maybe_resize_hash_table (struct Lisp_Hash_Table *);
3658static int cmpfn_eql P_ ((struct Lisp_Hash_Table *, Lisp_Object, unsigned, 3658static int cmpfn_eql (struct Lisp_Hash_Table *, Lisp_Object, unsigned,
3659 Lisp_Object, unsigned)); 3659 Lisp_Object, unsigned);
3660static int cmpfn_equal P_ ((struct Lisp_Hash_Table *, Lisp_Object, unsigned, 3660static int cmpfn_equal (struct Lisp_Hash_Table *, Lisp_Object, unsigned,
3661 Lisp_Object, unsigned)); 3661 Lisp_Object, unsigned);
3662static int cmpfn_user_defined P_ ((struct Lisp_Hash_Table *, Lisp_Object, 3662static int cmpfn_user_defined (struct Lisp_Hash_Table *, Lisp_Object,
3663 unsigned, Lisp_Object, unsigned)); 3663 unsigned, Lisp_Object, unsigned);
3664static unsigned hashfn_eq P_ ((struct Lisp_Hash_Table *, Lisp_Object)); 3664static unsigned hashfn_eq (struct Lisp_Hash_Table *, Lisp_Object);
3665static unsigned hashfn_eql P_ ((struct Lisp_Hash_Table *, Lisp_Object)); 3665static unsigned hashfn_eql (struct Lisp_Hash_Table *, Lisp_Object);
3666static unsigned hashfn_equal P_ ((struct Lisp_Hash_Table *, Lisp_Object)); 3666static unsigned hashfn_equal (struct Lisp_Hash_Table *, Lisp_Object);
3667static unsigned hashfn_user_defined P_ ((struct Lisp_Hash_Table *, 3667static unsigned hashfn_user_defined (struct Lisp_Hash_Table *,
3668 Lisp_Object)); 3668 Lisp_Object);
3669static unsigned sxhash_string P_ ((unsigned char *, int)); 3669static unsigned sxhash_string (unsigned char *, int);
3670static unsigned sxhash_list P_ ((Lisp_Object, int)); 3670static unsigned sxhash_list (Lisp_Object, int);
3671static unsigned sxhash_vector P_ ((Lisp_Object, int)); 3671static unsigned sxhash_vector (Lisp_Object, int);
3672static unsigned sxhash_bool_vector P_ ((Lisp_Object)); 3672static unsigned sxhash_bool_vector (Lisp_Object);
3673static int sweep_weak_table P_ ((struct Lisp_Hash_Table *, int)); 3673static int sweep_weak_table (struct Lisp_Hash_Table *, int);
3674 3674
3675 3675
3676 3676