aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.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/xselect.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/xselect.c')
-rw-r--r--src/xselect.c76
1 files changed, 38 insertions, 38 deletions
diff --git a/src/xselect.c b/src/xselect.c
index e2027736855..459e5335123 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -45,44 +45,44 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
45 45
46struct prop_location; 46struct prop_location;
47 47
48static Lisp_Object x_atom_to_symbol P_ ((Display *dpy, Atom atom)); 48static Lisp_Object x_atom_to_symbol (Display *dpy, Atom atom);
49static Atom symbol_to_x_atom P_ ((struct x_display_info *, Display *, 49static Atom symbol_to_x_atom (struct x_display_info *, Display *,
50 Lisp_Object)); 50 Lisp_Object);
51static void x_own_selection P_ ((Lisp_Object, Lisp_Object)); 51static void x_own_selection (Lisp_Object, Lisp_Object);
52static Lisp_Object x_get_local_selection P_ ((Lisp_Object, Lisp_Object, int)); 52static Lisp_Object x_get_local_selection (Lisp_Object, Lisp_Object, int);
53static void x_decline_selection_request P_ ((struct input_event *)); 53static void x_decline_selection_request (struct input_event *);
54static Lisp_Object x_selection_request_lisp_error P_ ((Lisp_Object)); 54static Lisp_Object x_selection_request_lisp_error (Lisp_Object);
55static Lisp_Object queue_selection_requests_unwind P_ ((Lisp_Object)); 55static Lisp_Object queue_selection_requests_unwind (Lisp_Object);
56static Lisp_Object some_frame_on_display P_ ((struct x_display_info *)); 56static Lisp_Object some_frame_on_display (struct x_display_info *);
57static Lisp_Object x_catch_errors_unwind P_ ((Lisp_Object)); 57static Lisp_Object x_catch_errors_unwind (Lisp_Object);
58static void x_reply_selection_request P_ ((struct input_event *, int, 58static void x_reply_selection_request (struct input_event *, int,
59 unsigned char *, int, Atom)); 59 unsigned char *, int, Atom);
60static int waiting_for_other_props_on_window P_ ((Display *, Window)); 60static int waiting_for_other_props_on_window (Display *, Window);
61static struct prop_location *expect_property_change P_ ((Display *, Window, 61static struct prop_location *expect_property_change (Display *, Window,
62 Atom, int)); 62 Atom, int);
63static void unexpect_property_change P_ ((struct prop_location *)); 63static void unexpect_property_change (struct prop_location *);
64static Lisp_Object wait_for_property_change_unwind P_ ((Lisp_Object)); 64static Lisp_Object wait_for_property_change_unwind (Lisp_Object);
65static void wait_for_property_change P_ ((struct prop_location *)); 65static void wait_for_property_change (struct prop_location *);
66static Lisp_Object x_get_foreign_selection P_ ((Lisp_Object, 66static Lisp_Object x_get_foreign_selection (Lisp_Object,
67 Lisp_Object, 67 Lisp_Object,
68 Lisp_Object)); 68 Lisp_Object);
69static void x_get_window_property P_ ((Display *, Window, Atom, 69static 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);
72static void receive_incremental_selection P_ ((Display *, Window, Atom, 72static 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 *);
76static Lisp_Object x_get_window_property_as_lisp_data P_ ((Display *, 76static Lisp_Object x_get_window_property_as_lisp_data (Display *,
77 Window, Atom, 77 Window, Atom,
78 Lisp_Object, Atom)); 78 Lisp_Object, Atom);
79static Lisp_Object selection_data_to_lisp_data P_ ((Display *, unsigned char *, 79static Lisp_Object selection_data_to_lisp_data (Display *, unsigned char *,
80 int, Atom, int)); 80 int, Atom, int);
81static void lisp_data_to_selection_data P_ ((Display *, Lisp_Object, 81static 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 *);
84static Lisp_Object clean_local_selection_data P_ ((Lisp_Object)); 84static Lisp_Object clean_local_selection_data (Lisp_Object);
85static void initialize_cut_buffers P_ ((Display *, Window)); 85static void initialize_cut_buffers (Display *, Window);
86 86
87 87
88/* Printing traces to stderr. */ 88/* Printing traces to stderr. */