Mercurial > emacs
comparison src/xselect.c @ 109100:2bc9a0c04c87
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.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Fri, 02 Jul 2010 14:19:53 +0200 |
parents | 1d1d5d9bd884 |
children | aec1143e8d85 |
comparison
equal
deleted
inserted
replaced
109099:e16f43875a48 | 109100:2bc9a0c04c87 |
---|---|
43 | 43 |
44 #include <X11/Xproto.h> | 44 #include <X11/Xproto.h> |
45 | 45 |
46 struct prop_location; | 46 struct prop_location; |
47 | 47 |
48 static Lisp_Object x_atom_to_symbol P_ ((Display *dpy, Atom atom)); | 48 static Lisp_Object x_atom_to_symbol (Display *dpy, Atom atom); |
49 static Atom symbol_to_x_atom P_ ((struct x_display_info *, Display *, | 49 static Atom symbol_to_x_atom (struct x_display_info *, Display *, |
50 Lisp_Object)); | 50 Lisp_Object); |
51 static void x_own_selection P_ ((Lisp_Object, Lisp_Object)); | 51 static void x_own_selection (Lisp_Object, Lisp_Object); |
52 static Lisp_Object x_get_local_selection P_ ((Lisp_Object, Lisp_Object, int)); | 52 static Lisp_Object x_get_local_selection (Lisp_Object, Lisp_Object, int); |
53 static void x_decline_selection_request P_ ((struct input_event *)); | 53 static void x_decline_selection_request (struct input_event *); |
54 static Lisp_Object x_selection_request_lisp_error P_ ((Lisp_Object)); | 54 static Lisp_Object x_selection_request_lisp_error (Lisp_Object); |
55 static Lisp_Object queue_selection_requests_unwind P_ ((Lisp_Object)); | 55 static Lisp_Object queue_selection_requests_unwind (Lisp_Object); |
56 static Lisp_Object some_frame_on_display P_ ((struct x_display_info *)); | 56 static Lisp_Object some_frame_on_display (struct x_display_info *); |
57 static Lisp_Object x_catch_errors_unwind P_ ((Lisp_Object)); | 57 static Lisp_Object x_catch_errors_unwind (Lisp_Object); |
58 static void x_reply_selection_request P_ ((struct input_event *, int, | 58 static void x_reply_selection_request (struct input_event *, int, |
59 unsigned char *, int, Atom)); | 59 unsigned char *, int, Atom); |
60 static int waiting_for_other_props_on_window P_ ((Display *, Window)); | 60 static int waiting_for_other_props_on_window (Display *, Window); |
61 static struct prop_location *expect_property_change P_ ((Display *, Window, | 61 static struct prop_location *expect_property_change (Display *, Window, |
62 Atom, int)); | 62 Atom, int); |
63 static void unexpect_property_change P_ ((struct prop_location *)); | 63 static void unexpect_property_change (struct prop_location *); |
64 static Lisp_Object wait_for_property_change_unwind P_ ((Lisp_Object)); | 64 static Lisp_Object wait_for_property_change_unwind (Lisp_Object); |
65 static void wait_for_property_change P_ ((struct prop_location *)); | 65 static void wait_for_property_change (struct prop_location *); |
66 static Lisp_Object x_get_foreign_selection P_ ((Lisp_Object, | 66 static Lisp_Object x_get_foreign_selection (Lisp_Object, |
67 Lisp_Object, | 67 Lisp_Object, |
68 Lisp_Object)); | 68 Lisp_Object); |
69 static void x_get_window_property P_ ((Display *, Window, Atom, | 69 static void x_get_window_property (Display *, Window, Atom, |
70 unsigned char **, int *, | 70 unsigned char **, int *, |
71 Atom *, int *, unsigned long *, int)); | 71 Atom *, int *, unsigned long *, int); |
72 static void receive_incremental_selection P_ ((Display *, Window, Atom, | 72 static void receive_incremental_selection (Display *, Window, Atom, |
73 Lisp_Object, unsigned, | 73 Lisp_Object, unsigned, |
74 unsigned char **, int *, | 74 unsigned char **, int *, |
75 Atom *, int *, unsigned long *)); | 75 Atom *, int *, unsigned long *); |
76 static Lisp_Object x_get_window_property_as_lisp_data P_ ((Display *, | 76 static Lisp_Object x_get_window_property_as_lisp_data (Display *, |
77 Window, Atom, | 77 Window, Atom, |
78 Lisp_Object, Atom)); | 78 Lisp_Object, Atom); |
79 static Lisp_Object selection_data_to_lisp_data P_ ((Display *, unsigned char *, | 79 static Lisp_Object selection_data_to_lisp_data (Display *, unsigned char *, |
80 int, Atom, int)); | 80 int, Atom, int); |
81 static void lisp_data_to_selection_data P_ ((Display *, Lisp_Object, | 81 static void lisp_data_to_selection_data (Display *, Lisp_Object, |
82 unsigned char **, Atom *, | 82 unsigned char **, Atom *, |
83 unsigned *, int *, int *)); | 83 unsigned *, int *, int *); |
84 static Lisp_Object clean_local_selection_data P_ ((Lisp_Object)); | 84 static Lisp_Object clean_local_selection_data (Lisp_Object); |
85 static void initialize_cut_buffers P_ ((Display *, Window)); | 85 static void initialize_cut_buffers (Display *, Window); |
86 | 86 |
87 | 87 |
88 /* Printing traces to stderr. */ | 88 /* Printing traces to stderr. */ |
89 | 89 |
90 #ifdef TRACE_SELECTION | 90 #ifdef TRACE_SELECTION |