summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-tslib/files/fix-overlapped-variable.patch
blob: 7a4363e97277250f68de323fb82bcf33cb628442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/tslib.c.orig	2010-05-19 19:01:01.000000000 +0200
+++ src/tslib.c	2010-05-19 19:02:00.000000000 +0200
@@ -543,7 +543,7 @@
 	return (pInfo);
 }
 
-_X_EXPORT InputDriverRec TSLIB = {
+_X_EXPORT InputDriverRec TSLIB_DRIVER = {
 	1,			/* driver version */
 	"tslib",		/* driver name */
 	NULL,			/* identify */
@@ -580,7 +580,7 @@
 {
 	static Bool Initialised = FALSE;
 
-	xf86AddInputDriver(&TSLIB, module, 0);
+	xf86AddInputDriver(&TSLIB_DRIVER, module, 0);
 
 	return module;
 }