diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-10 10:20:00 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-25 13:04:39 +1000 |
commit | b4e69d500dc0087bedafd7221abcb8e62800b84a (patch) | |
tree | 516785354ab380a152d06cc4421f4f4d60313ef3 /src | |
parent | eab975ab3e576a6d223df07f0d9501e7bed317f0 (diff) |
Move default_options up, preparation work for ABI 12.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/acecad.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/acecad.c b/src/acecad.c index 97d475a..31ac14b 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, @@ -156,18 +168,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) |