[PATCH synaptics 2/3] Fix build error - duplicate typedef (#47168)

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 12 18:34:07 PDT 2012


Introduced in c34cf307f9982b62c6e6dfa2687e1b16f527f2a4.
synapticsstr.h includes synproto.h, which now contains the typedef.

X.Org Bug 47168 <http://bugs.freedesktop.org/show_bug.cgi?id=47168>

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/synapticsstr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index d4daeba..92c64fb 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -183,7 +183,7 @@ typedef struct _SynapticsParameters
 } SynapticsParameters;
 
 
-typedef struct _SynapticsPrivateRec
+struct _SynapticsPrivateRec
 {
     SynapticsParameters synpara;            /* Default parameter settings, read from
 					       the X config file */
@@ -286,6 +286,6 @@ typedef struct _SynapticsPrivateRec
     int *open_slots;                    /* Array of currently open touch slots */
     int num_active_touches;             /* Number of active touches on device */
 #endif
-} SynapticsPrivate;
+};
 
 #endif /* _SYNAPTICSSTR_H_ */
-- 
1.7.7.6



More information about the xorg-devel mailing list