diff options
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/chansrv/chansrv.c | 2 | ||||
-rw-r--r-- | sesman/chansrv/chansrv.h | 2 | ||||
-rw-r--r-- | sesman/chansrv/chansrv_fuse.c | 8 | ||||
-rw-r--r-- | sesman/chansrv/chansrv_fuse.h | 4 | ||||
-rw-r--r-- | sesman/chansrv/devredir.h | 6 | ||||
-rw-r--r-- | sesman/chansrv/irp.c | 6 | ||||
-rw-r--r-- | sesman/chansrv/rail.c | 2 | ||||
-rw-r--r-- | sesman/chansrv/sound.c | 8 | ||||
-rw-r--r-- | sesman/libscp/libscp_init.c | 2 | ||||
-rw-r--r-- | sesman/libscp/libscp_init.h | 2 | ||||
-rw-r--r-- | sesman/libscp/libscp_session.c | 2 | ||||
-rw-r--r-- | sesman/libscp/libscp_session.h | 2 | ||||
-rw-r--r-- | sesman/session.c | 2 | ||||
-rw-r--r-- | sesman/session.h | 2 | ||||
-rw-r--r-- | sesman/tools/sesadmin.c | 4 |
15 files changed, 27 insertions, 27 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 25133fec..b9717c8b 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -1637,7 +1637,7 @@ main(int argc, char **argv) * @return unused slot index on success, -1 on failure ******************************************************************************/ int APP_CC -find_empty_slot_in_dvc_channels() +find_empty_slot_in_dvc_channels(void) { int i; 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); diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c index 16fda322..e5ff1da4 100644 --- a/sesman/chansrv/chansrv_fuse.c +++ b/sesman/chansrv/chansrv_fuse.c @@ -848,7 +848,7 @@ static int xfuse_init_lib(struct fuse_args *args) * *****************************************************************************/ -static int xfuse_init_xrdp_fs() +static int xfuse_init_xrdp_fs(void) { struct xrdp_inode *xino; @@ -949,7 +949,7 @@ static int xfuse_init_xrdp_fs() * @return 0 on success, -1 on failure *****************************************************************************/ -static int xfuse_deinit_xrdp_fs() +static int xfuse_deinit_xrdp_fs(void) { return 0; } @@ -1043,7 +1043,7 @@ static void xfuse_create_file(fuse_req_t req, fuse_ino_t parent, } #endif -static void xfuse_dump_fs() +static void xfuse_dump_fs(void) { fuse_ino_t i; struct xrdp_inode *xinode; @@ -1387,7 +1387,7 @@ static int xfuse_recursive_delete_dir_with_xinode(XRDP_INODE *xinode) return 0; } -static void xfuse_update_xrdpfs_size() +static void xfuse_update_xrdpfs_size(void) { void *vp; int diff; 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); diff --git a/sesman/chansrv/devredir.h b/sesman/chansrv/devredir.h index 6479c6f6..76900698 100644 --- a/sesman/chansrv/devredir.h +++ b/sesman/chansrv/devredir.h @@ -40,9 +40,9 @@ int APP_CC dev_redir_data_in(struct stream* s, int chan_id, int chan_flags, int APP_CC dev_redir_get_wait_objs(tbus* objs, int* count, int* timeout); int APP_CC dev_redir_check_wait_objs(void); -void dev_redir_send_server_core_cap_req(); -void dev_redir_send_server_clientID_confirm(); -void dev_redir_send_server_user_logged_on(); +void dev_redir_send_server_core_cap_req(void); +void dev_redir_send_server_clientID_confirm(void); +void dev_redir_send_server_user_logged_on(void); void devredir_send_server_device_announce_resp(tui32 device_id); void dev_redir_send_drive_dir_request(IRP *irp, tui32 device_id, diff --git a/sesman/chansrv/irp.c b/sesman/chansrv/irp.c index ad318cb1..d8527270 100644 --- a/sesman/chansrv/irp.c +++ b/sesman/chansrv/irp.c @@ -69,7 +69,7 @@ IRP *g_irp_head = NULL; * @return new IRP or NULL on error *****************************************************************************/ -IRP * devredir_irp_new() +IRP * devredir_irp_new(void) { IRP *irp; IRP *irp_last; @@ -239,7 +239,7 @@ IRP * devredir_irp_find_by_fileid(tui32 FileId) * Return last IRP in linked list *****************************************************************************/ -IRP * devredir_irp_get_last() +IRP * devredir_irp_get_last(void) { IRP *irp = g_irp_head; @@ -255,7 +255,7 @@ IRP * devredir_irp_get_last() return irp; } -void devredir_irp_dump() +void devredir_irp_dump(void) { IRP *irp = g_irp_head; diff --git a/sesman/chansrv/rail.c b/sesman/chansrv/rail.c index 3470cece..f7e68b08 100644 --- a/sesman/chansrv/rail.c +++ b/sesman/chansrv/rail.c @@ -356,7 +356,7 @@ rail_deinit(void) } int APP_CC -rail_startup() +rail_startup(void) { int dummy; int ver_maj; diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c index e2b6f53b..1662cf28 100644 --- a/sesman/chansrv/sound.c +++ b/sesman/chansrv/sound.c @@ -212,8 +212,8 @@ static int APP_CC sound_input_start_recording(void); static int APP_CC sound_input_stop_recording(void); static int APP_CC sound_process_input_data(struct stream *s, int bytes); static int DEFAULT_CC sound_sndsrvr_source_data_in(struct trans *trans); -static int APP_CC sound_start_source_listener(); -static int APP_CC sound_start_sink_listener(); +static int APP_CC sound_start_source_listener(void); +static int APP_CC sound_start_sink_listener(void); /*****************************************************************************/ static int APP_CC @@ -1513,7 +1513,7 @@ sound_sndsrvr_source_data_in(struct trans *trans) * Start a listener for microphone redirection connections *****************************************************************************/ static int APP_CC -sound_start_source_listener() +sound_start_source_listener(void) { char port[1024]; @@ -1530,7 +1530,7 @@ sound_start_source_listener() * Start a listener for speaker redirection connections *****************************************************************************/ static int APP_CC -sound_start_sink_listener() +sound_start_sink_listener(void) { char port[1024]; diff --git a/sesman/libscp/libscp_init.c b/sesman/libscp/libscp_init.c index 9d1e7308..11f0678e 100644 --- a/sesman/libscp/libscp_init.c +++ b/sesman/libscp/libscp_init.c @@ -30,7 +30,7 @@ /* server API */ int DEFAULT_CC -scp_init() +scp_init(void) { /* if (0 == log) diff --git a/sesman/libscp/libscp_init.h b/sesman/libscp/libscp_init.h index 91fb4090..7e74640c 100644 --- a/sesman/libscp/libscp_init.h +++ b/sesman/libscp/libscp_init.h @@ -41,6 +41,6 @@ * */ int DEFAULT_CC -scp_init(); +scp_init(void); #endif diff --git a/sesman/libscp/libscp_session.c b/sesman/libscp/libscp_session.c index 527d6d29..e932c82b 100644 --- a/sesman/libscp/libscp_session.c +++ b/sesman/libscp/libscp_session.c @@ -34,7 +34,7 @@ /*******************************************************************/ struct SCP_SESSION * -scp_session_create() +scp_session_create(void) { struct SCP_SESSION *s; diff --git a/sesman/libscp/libscp_session.h b/sesman/libscp/libscp_session.h index 9b92d3dd..eb902722 100644 --- a/sesman/libscp/libscp_session.h +++ b/sesman/libscp/libscp_session.h @@ -38,7 +38,7 @@ * */ struct SCP_SESSION* -scp_session_create(); +scp_session_create(void); int scp_session_set_type(struct SCP_SESSION* s, tui8 type); diff --git a/sesman/session.c b/sesman/session.c index 4e51867f..cf6f45c4 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -997,7 +997,7 @@ session_kill(int pid) /******************************************************************************/ void DEFAULT_CC -session_sigkill_all() +session_sigkill_all(void) { struct session_chain *tmp; diff --git a/sesman/session.h b/sesman/session.h index 73313595..04bf4267 100644 --- a/sesman/session.h +++ b/sesman/session.h @@ -127,7 +127,7 @@ session_kill(int pid); * */ void DEFAULT_CC -session_sigkill_all(); +session_sigkill_all(void); /** * diff --git a/sesman/tools/sesadmin.c b/sesman/tools/sesadmin.c index e4a1cc2b..7d66ad2e 100644 --- a/sesman/tools/sesadmin.c +++ b/sesman/tools/sesadmin.c @@ -37,7 +37,7 @@ struct log_config logging; void cmndList(struct SCP_CONNECTION *c); void cmndKill(struct SCP_CONNECTION *c, struct SCP_SESSION *s); -void cmndHelp(); +void cmndHelp(void); int inputSession(struct SCP_SESSION *s); unsigned int menuSelect(unsigned int choices); @@ -173,7 +173,7 @@ int main(int argc, char **argv) return 0; } -void cmndHelp() +void cmndHelp(void) { fprintf(stderr, "sesadmin - a console sesman administration tool\n"); fprintf(stderr, "syntax: sesadmin [] COMMAND [OPTIONS]\n\n"); |