summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-da
blob: 66f72fc6a9fcce977dc8f196a4abcdb4a8a093a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$NetBSD: patch-da,v 1.3 2012/11/16 00:29:40 joerg Exp $

--- lib/libxview/textsw/txt_move.c.orig	1993-06-29 05:17:47.000000000 +0000
+++ lib/libxview/textsw/txt_move.c
@@ -55,7 +55,7 @@ static char     sccsid[] = "@(#)txt_move
 
 static int dnd_data_key = 0; /* XXX: Don't do this at home kids. */
 static int dnd_view_key = 0; 
-static int DndConvertProc();
+int DndConvertProc();
 
 Pkg_private Es_handle textsw_esh_for_span();
 Pkg_private Es_index ev_resolve_xy();
@@ -66,6 +66,8 @@ Pkg_private int textsw_end_quick_move();
 Pkg_private void textsw_finish_move();
 Pkg_private void textsw_finish_duplicate();
 Pkg_private void textsw_reset_cursor();
+Pkg_private void xv_do_move(Textsw_view_handle, Event *);
+Pkg_private void textsw_do_duplicate(Textsw_view_handle, Event *);
 
 static unsigned short    drag_move_arrow_data[] = {
 #include <images/text_move_cursor.pr>
@@ -358,7 +360,7 @@ textsw_reset_cursor(view)
  * all input events go to track move(). On button up, xv_do_move() is called...
  * resets track state.
  */
-Pkg_private int
+Pkg_private void
 xv_do_move(view, ie)
     Textsw_view_handle view;
     register Event *ie;
@@ -465,7 +467,7 @@ xv_do_move(view, ie)
     }
 }
 
-Pkg_private int
+Pkg_private void
 textsw_do_duplicate(view, ie)
     Textsw_view_handle view;
     register Event *ie;
@@ -688,7 +690,7 @@ textsw_do_drag_copy_move(view, ie, is_co
     xv_destroy(dnd_accept_cursor);
 }
 
-static int
+int
 DndConvertProc(dnd, type, data, length, format)
     Dnd      	 dnd;
     Atom        *type;
@@ -777,7 +779,7 @@ DndConvertProc(dnd, type, data, length, 
  * ACTION_DRAG_MOVE is a result of XSendEvent called by the subwindow that
  * originally sees the button-down that starts the drag move
  */
-Pkg_private
+Pkg_private void
 textsw_do_remote_drag_copy_move(view, ie, is_copy)
     register Textsw_view_handle  view;
     Event          		*ie;