[PATCH acecad 4/7] Move default_options up, preparation work for ABI 12.
Peter Hutterer
peter.hutterer at who-t.net
Thu Sep 9 17:56:38 PDT 2010
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
CC: Giuseppe Bilotta <giuseppe.bilotta at gmail.org>
---
src/acecad.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/acecad.c b/src/acecad.c
index e5312ae..3827191 100644
--- a/src/acecad.c
+++ b/src/acecad.c
@@ -106,6 +106,18 @@
/* max number of input events to read in one read call */
#define MAX_EVENTS 50
+static const char *default_options[] =
+{
+ "BaudRate", "9600",
+ "StopBits", "1",
+ "DataBits", "8",
+ "Parity", "Odd",
+ "Vmin", "1",
+ "Vtime", "10",
+ "FlowControl", "Xoff",
+ NULL
+};
+
_X_EXPORT InputDriverRec ACECAD =
{
1,
@@ -157,18 +169,6 @@ TearDownProc( pointer p )
{
}
-static const char *default_options[] =
-{
- "BaudRate", "9600",
- "StopBits", "1",
- "DataBits", "8",
- "Parity", "Odd",
- "Vmin", "1",
- "Vtime", "10",
- "FlowControl", "Xoff",
- NULL
-};
-
#ifdef HAVE_LINUX_INPUT_H
static int
IsUSBLine(int fd)
--
1.7.2.3
More information about the xorg-devel
mailing list