diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-09 12:33:41 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-09 12:33:41 +1000 |
commit | f6d158802c2a3a0083d110428699027939276e44 (patch) | |
tree | 09003f08ccbf4dde75c83ce71b990e3077e82324 /src | |
parent | 26c7872b49674d40a8d6b74915257c90a9708dd0 (diff) |
Remove redefinition of read()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/acecad.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/acecad.c b/src/acecad.c index 65b3088..61e4c21 100644 --- a/src/acecad.c +++ b/src/acecad.c @@ -100,9 +100,6 @@ * Local Variables ****************************************************************************/ -#undef read -#define read(a,b,c) xf86ReadSerial((a),(b),(c)) - /* max number of input events to read in one read call */ #define MAX_EVENTS 50 @@ -878,7 +875,7 @@ USBReadInput (LocalDevicePtr local) /* Was the device available last time we checked? */ int avail = priv->flags & AVAIL_FLAG; - SYSCALL(len = read(local->fd, eventbuf, sizeof(eventbuf))); + SYSCALL(len = xf86ReadSerial(local->fd, eventbuf, sizeof(eventbuf))); if (len <= 0) { if (avail) { |