diff options
-rw-r--r-- | src/busxtloop.c | 5 | ||||
-rw-r--r-- | src/busxtloop.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/busxtloop.c b/src/busxtloop.c index e95bc45..fcaa10e 100644 --- a/src/busxtloop.c +++ b/src/busxtloop.c @@ -20,7 +20,6 @@ #endif - #include <X11/Intrinsic.h> #include "buschannel.h" @@ -30,8 +29,8 @@ struct _channel { XtInputId id_read; XtInputId id_delete; void *data; - void (*handle_delete)( void *data ); - void (*handle_read)( Channel channel, HANDLE fd, void *data); + ChannelHandleDelete handle_delete; + ChannelHandleRead handle_read; }; diff --git a/src/busxtloop.h b/src/busxtloop.h index 7cf029a..8f48460 100644 --- a/src/busxtloop.h +++ b/src/busxtloop.h @@ -25,8 +25,8 @@ extern void BusXtChannelInit(void); extern Channel BusXtChannelSetUp( HANDLE fd, void *data, - void (*handle_delete)( void *data ), - void (*handle_read)( Channel channel, HANDLE fd, void *data) + ChannelHandleDelete handle_delete, + ChannelHandleRead handle_read ); extern void BusXtChannelClose( Channel channel ); |