summaryrefslogtreecommitdiff
path: root/graphics/cqcam/patches/patch-af
blob: 51d2d6316009d5a399bfb2110fc4c6d547e21bb5 (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
$NetBSD: patch-af,v 1.2 2005/01/22 03:04:31 minskim Exp $

--- xqcctl-tk.C.orig	1997-10-26 20:31:30.000000000 -0600
+++ xqcctl-tk.C
@@ -6,6 +6,7 @@
 
 #include <stdlib.h>
 #include <signal.h>
+#include <string.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
@@ -148,7 +149,7 @@ void xqc_quit(void) {
 }
 
 int SetCamValCmd(ClientData clientdata, Tcl_Interp *interp,
-		 int argc, char *argv[])
+		 int argc, const char *argv[])
 {
   char type;
   long value = atoi(argv[2]);
@@ -163,7 +164,7 @@ int SetCamValCmd(ClientData clientdata, 
 }
 
 int CamButtonCmd(ClientData clientdata, Tcl_Interp *interp,
-		 int argc, char *argv[])
+		 int argc, const char *argv[])
 {
   char type;
   long value = 0;