From cbe413bd8b9d74b75af90c875c84bdd273752f73 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:18 -0700 Subject: Fix return type of devredir_fuse_data_peek and devredir_fuse_data_dequeue --- sesman/chansrv/devredir.c | 4 ++-- sesman/chansrv/devredir.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sesman') diff --git a/sesman/chansrv/devredir.c b/sesman/chansrv/devredir.c index 3014e53a..2ce30286 100644 --- a/sesman/chansrv/devredir.c +++ b/sesman/chansrv/devredir.c @@ -1321,7 +1321,7 @@ dev_redir_file_write(void *fusep, tui32 DeviceId, tui32 FileId, * @return FUSE_DATA on success, or NULL on failure *****************************************************************************/ -void * APP_CC +FUSE_DATA *APP_CC devredir_fuse_data_peek(IRP *irp) { log_debug("returning %p", irp->fd_head); @@ -1334,7 +1334,7 @@ devredir_fuse_data_peek(IRP *irp) * @return FUSE_DATA on success, NULL on failure *****************************************************************************/ -void * APP_CC +FUSE_DATA *APP_CC devredir_fuse_data_dequeue(IRP *irp) { FUSE_DATA *head; diff --git a/sesman/chansrv/devredir.h b/sesman/chansrv/devredir.h index 8e2cb957..b49eb1dd 100644 --- a/sesman/chansrv/devredir.h +++ b/sesman/chansrv/devredir.h @@ -27,8 +27,8 @@ #define USE_SHORT_NAMES_IN_DIR_LISTING -void *devredir_fuse_data_peek(IRP *irp); -void *devredir_fuse_data_dequeue(IRP *irp); +FUSE_DATA *devredir_fuse_data_peek(IRP *irp); +FUSE_DATA *devredir_fuse_data_dequeue(IRP *irp); int devredir_fuse_data_enqueue(IRP *irp, void *vp); int APP_CC dev_redir_init(void); -- cgit v1.2.1