summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/irp.c
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/irp.c
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/irp.c')
-rw-r--r--sesman/chansrv/irp.c6
1 files changed, 3 insertions, 3 deletions
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;