diff options
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r-- | mbbsd/chat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c index eda0983e..4ecfde88 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -268,11 +268,10 @@ typedef struct { int *chatting; } ChatCbParam; -// static -int -_vgetcb_peek(int key, char *buf, int *picurr, int *piend, int len, void *ptr) +static int +_vgetcb_peek(int key, VGET_RUNTIME *prt, void *instance) { - ChatCbParam *p = (ChatCbParam*) ptr; + ChatCbParam *p = (ChatCbParam*) instance; assert(p); switch (key) { |