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
|
$NetBSD: patch-ee,v 1.3 2012/11/16 00:29:40 joerg Exp $
--- lib/libxview/sel/seln.c.orig 1993-06-29 05:15:22.000000000 +0000
+++ lib/libxview/sel/seln.c
@@ -25,7 +25,7 @@ struct selection selnull;
char *selection_filename();
/* ARGSUSED */
-selection_set(sel, sel_write, sel_clear, window)
+void selection_set(sel, sel_write, sel_clear, window)
struct selection *sel;
int (*sel_write) (), (*sel_clear) ();
Xv_object window;
@@ -61,7 +61,7 @@ Open:
(void) win_unlockdata(window);
}
-selection_get(sel_read, window)
+void selection_get(sel_read, window)
int (*sel_read) ();
Xv_object window;
{
@@ -69,7 +69,6 @@ selection_get(sel_read, window)
FILE *file;
int c;
int n;
- extern errno;
*sel = selnull;
(void) win_lockdata(window);
@@ -108,7 +107,7 @@ Cleanup:
(void) win_unlockdata(window);
}
-selection_clear(window)
+void selection_clear(window)
Xv_object window;
{
FILE *file;
|