openbsd-ports/x11/xview/config/patches/p-libxview-textsw-txt_move_c

21 lines
661 B
Plaintext

--- lib/libxview/textsw/txt_move.c.orig 1993-06-29 07:17:47.000000000 +0200
+++ lib/libxview/textsw/txt_move.c 2003-12-30 01:31:14.000000000 +0100
@@ -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();
@@ -688,7 +688,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;