From 6664aac00ff0c4a29ff4e09acabcb089d0a2ede3 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 23 Dec 2016 09:52:22 -0800 Subject: 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". --- sesman/chansrv/chansrv_fuse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sesman/chansrv/chansrv_fuse.h') 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); -- cgit v1.2.1