diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-12-23 09:52:22 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2017-01-05 17:27:20 -0800 |
commit | 6664aac00ff0c4a29ff4e09acabcb089d0a2ede3 (patch) | |
tree | b6092c8de5a6fb301da639adc9c4518741547fbe /sesman/chansrv/chansrv_fuse.h | |
parent | 15a24ff1c4e35fdc6e9c8df0645ade44cddbafc5 (diff) | |
download | xrdp-proprietary-6664aac00ff0c4a29ff4e09acabcb089d0a2ede3.tar.gz xrdp-proprietary-6664aac00ff0c4a29ff4e09acabcb089d0a2ede3.zip |
Use "void" for empty argument list in declarations
In C, an empty argument list in a declaration means that the function
can accept any arguments. Use "void" instead, it means "no arguments".
C++ treats void and empty list as "no arguments".
Diffstat (limited to 'sesman/chansrv/chansrv_fuse.h')
-rw-r--r-- | sesman/chansrv/chansrv_fuse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/chansrv/chansrv_fuse.h b/sesman/chansrv/chansrv_fuse.h index 4638add5..63e4b5d1 100644 --- a/sesman/chansrv/chansrv_fuse.h +++ b/sesman/chansrv/chansrv_fuse.h @@ -45,8 +45,8 @@ struct xrdp_inode }; typedef struct xrdp_inode XRDP_INODE; // LK_TODO use this instead of using struct xrdp_inode -int xfuse_init(); -int xfuse_deinit(); +int xfuse_init(void); +int xfuse_deinit(void); int xfuse_check_wait_objs(void); int xfuse_get_wait_objs(tbus *objs, int *count, int *timeout); int xfuse_create_share(tui32 share_id, char *dirname); |