summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:18 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:56 +0000
commitcbe413bd8b9d74b75af90c875c84bdd273752f73 (patch)
tree93e966a557685855fba42ef8d854d7e657c86357 /sesman
parent28a1a090b3463042d2c03964f42da1f0f18f2c23 (diff)
downloadxrdp-proprietary-cbe413bd8b9d74b75af90c875c84bdd273752f73.tar.gz
xrdp-proprietary-cbe413bd8b9d74b75af90c875c84bdd273752f73.zip
Fix return type of devredir_fuse_data_peek and devredir_fuse_data_dequeue
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/devredir.c4
-rw-r--r--sesman/chansrv/devredir.h4
2 files changed, 4 insertions, 4 deletions
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);