summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_listen.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /xrdp/xrdp_listen.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'xrdp/xrdp_listen.c')
-rw-r--r--xrdp/xrdp_listen.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index 000b05d3..0fbe61fa 100644
--- a/xrdp/xrdp_listen.c
+++ b/xrdp/xrdp_listen.c
@@ -50,7 +50,7 @@ xrdp_listen_create_pro_done(struct xrdp_listen *self)
}
/*****************************************************************************/
-struct xrdp_listen *APP_CC
+struct xrdp_listen *
xrdp_listen_create(void)
{
struct xrdp_listen *self;
@@ -80,7 +80,7 @@ xrdp_listen_create(void)
}
/*****************************************************************************/
-void APP_CC
+void
xrdp_listen_delete(struct xrdp_listen *self)
{
if (self->listen_trans != 0)
@@ -101,7 +101,7 @@ xrdp_listen_delete(struct xrdp_listen *self)
/*****************************************************************************/
/* returns error */
-static int APP_CC
+static int
xrdp_listen_add_pro(struct xrdp_listen *self, struct xrdp_process *process)
{
list_add_item(self->process_list, (tbus)process);
@@ -109,7 +109,7 @@ xrdp_listen_add_pro(struct xrdp_listen *self, struct xrdp_process *process)
}
/*****************************************************************************/
-static int APP_CC
+static int
xrdp_listen_delete_done_pro(struct xrdp_listen *self)
{
int i;
@@ -261,7 +261,7 @@ xrdp_listen_get_port_address(char *port, int port_bytes,
}
/*****************************************************************************/
-static int APP_CC
+static int
xrdp_listen_fork(struct xrdp_listen *self, struct trans *server_trans)
{
int pid;
@@ -299,7 +299,7 @@ xrdp_listen_fork(struct xrdp_listen *self, struct trans *server_trans)
/*****************************************************************************/
/* a new connection is coming in */
-int DEFAULT_CC
+int
xrdp_listen_conn_in(struct trans *self, struct trans *new_self)
{
struct xrdp_process *process;
@@ -332,7 +332,7 @@ xrdp_listen_conn_in(struct trans *self, struct trans *new_self)
/*****************************************************************************/
/* wait for incoming connections */
-int APP_CC
+int
xrdp_listen_main_loop(struct xrdp_listen *self)
{
int error;