mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
30 lines
942 B
Plaintext
30 lines
942 B
Plaintext
$NetBSD: patch-ba,v 1.3 2009/12/10 20:35:57 abs Exp $
|
|
|
|
--- lib/libxview/selection/sel_util.c.orig 1993-06-29 05:16:03.000000000 +0000
|
|
+++ lib/libxview/selection/sel_util.c
|
|
@@ -23,6 +23,7 @@ static void tvdiff();
|
|
static void FreeMultiProp();
|
|
static int SelMatchReply();
|
|
static Sel_req_tbl *SelMatchReqTbl();
|
|
+static int SelFindReply();
|
|
|
|
Pkg_private struct timeval *
|
|
xv_sel_cvt_xtime_to_timeval( XTime )
|
|
@@ -510,7 +511,6 @@ char *arg;
|
|
int result;
|
|
struct timeval timeout;
|
|
struct timeval starttime, curtime, diff1, diff2;
|
|
- extern int errno;
|
|
|
|
timeout.tv_sec = seconds;
|
|
timeout.tv_usec = 0;
|
|
@@ -601,7 +601,7 @@ Sel_reply_info *reply;
|
|
reqTbl->reply = reply;
|
|
reqTbl->next = NULL;
|
|
(void)XSaveContext( dpy, DefaultRootWindow(dpy),replyCtx,
|
|
- (caddr_t *)reqTbl);
|
|
+ (XPointer)reqTbl);
|
|
return reqTbl;
|
|
}
|
|
return (Sel_req_tbl *) xv_sel_add_new_req( reqTbl, reply );
|