summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfcolin1998-08-03 13:48:20 +0000
committerfcolin1998-08-03 13:48:20 +0000
commit6ff2ef5124e1101f475ad87b178b925489de2845 (patch)
treea183f15daa8d49a30141e3ca786530333ecbf67b /src
parentd090d7150e3814ecd436e68bd3e247eda880ee58 (diff)
downloadivy-c-6ff2ef5124e1101f475ad87b178b925489de2845.zip
ivy-c-6ff2ef5124e1101f475ad87b178b925489de2845.tar.gz
ivy-c-6ff2ef5124e1101f475ad87b178b925489de2845.tar.bz2
ivy-c-6ff2ef5124e1101f475ad87b178b925489de2845.tar.xz
quelque Prototype oublie
Diffstat (limited to 'src')
-rw-r--r--src/busxtloop.c5
-rw-r--r--src/busxtloop.h4
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 );