dmx: fix OsAbort()-related build error in examples/xinput.c

5b9a52be7e changed the server to use OsAbort()
instead of abort(). xinput in dmx is a client program though and fails to
link if it tries to use OsAbort(). Switch it back to using abort().

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Peter Hutterer 2010-02-26 10:14:00 +10:00 committed by Keith Packard
parent cf72b5437d
commit 9e7b6e565f

View File

@ -233,7 +233,7 @@ int main(int argc, char **argv)
int total = 0; int total = 0;
#define ADD(type) \ #define ADD(type) \
if (cnt >= MAX_EVENTS) OsAbort(); \ if (cnt >= MAX_EVENTS) abort(); \
names[cnt] = #type; \ names[cnt] = #type; \
type(dev, event_type[cnt], event_list[cnt]); \ type(dev, event_type[cnt], event_list[cnt]); \
if (event_type[cnt]) ++cnt if (event_type[cnt]) ++cnt