summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv.h
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-12-23 09:52:22 -0800
committerPavel Roskin <plroskin@gmail.com>2017-01-05 17:27:20 -0800
commit6664aac00ff0c4a29ff4e09acabcb089d0a2ede3 (patch)
treeb6092c8de5a6fb301da639adc9c4518741547fbe /sesman/chansrv/chansrv.h
parent15a24ff1c4e35fdc6e9c8df0645ade44cddbafc5 (diff)
downloadxrdp-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.h')
-rw-r--r--sesman/chansrv/chansrv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/chansrv/chansrv.h b/sesman/chansrv/chansrv.h
index a3e8ed51..389f2bd3 100644
--- a/sesman/chansrv/chansrv.h
+++ b/sesman/chansrv/chansrv.h
@@ -61,7 +61,7 @@ int APP_CC send_channel_data(int chan_id, char *data, int size);
int APP_CC send_rail_drawing_orders(char* data, int size);
int APP_CC main_cleanup(void);
int APP_CC add_timeout(int msoffset, void (*callback)(void* data), void* data);
-int APP_CC find_empty_slot_in_dvc_channels();
+int APP_CC find_empty_slot_in_dvc_channels(void);
struct xrdp_api_data * APP_CC struct_from_dvc_chan_id(tui32 dvc_chan_id);
int remove_struct_with_chan_id(tui32 dvc_chan_id);