summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdpwin.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/xrdpwin.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'xrdp/xrdpwin.c')
-rw-r--r--xrdp/xrdpwin.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/xrdp/xrdpwin.c b/xrdp/xrdpwin.c
index 676f3c84..ea93e54a 100644
--- a/xrdp/xrdpwin.c
+++ b/xrdp/xrdpwin.c
@@ -46,7 +46,7 @@ static long g_sync_param2 = 0;
static long (*g_sync_func)(long param1, long param2);
/*****************************************************************************/
-long APP_CC
+long
g_xrdp_sync(long (*sync_func)(long param1, long param2), long sync_param1,
long sync_param2)
{
@@ -86,7 +86,7 @@ g_xrdp_sync(long (*sync_func)(long param1, long param2), long sync_param1,
}
/*****************************************************************************/
-void DEFAULT_CC
+void
xrdp_shutdown(int sig)
{
tbus threadid;
@@ -102,14 +102,14 @@ xrdp_shutdown(int sig)
}
/*****************************************************************************/
-int APP_CC
+int
g_is_term(void)
{
return g_is_wait_obj_set(g_term_event);
}
/*****************************************************************************/
-void APP_CC
+void
g_set_term(int in_val)
{
if (in_val)
@@ -123,21 +123,21 @@ g_set_term(int in_val)
}
/*****************************************************************************/
-tbus APP_CC
+tbus
g_get_term_event(void)
{
return g_term_event;
}
/*****************************************************************************/
-tbus APP_CC
+tbus
g_get_sync_event(void)
{
return g_sync_event;
}
/*****************************************************************************/
-void DEFAULT_CC
+void
pipe_sig(int sig_num)
{
/* do nothing */
@@ -145,7 +145,7 @@ pipe_sig(int sig_num)
}
/*****************************************************************************/
-void APP_CC
+void
g_process_waiting_function(void)
{
tc_mutex_lock(g_sync_mutex);
@@ -204,7 +204,7 @@ MyHandler(DWORD fdwControl)
}
/*****************************************************************************/
-static void DEFAULT_CC
+static void
log_event(HANDLE han, char *msg)
{
ReportEvent(han, EVENTLOG_INFORMATION_TYPE, 0, 0, 0, 1, 0, &msg, 0);
@@ -278,7 +278,7 @@ MyServiceMain(DWORD dwArgc, LPTSTR *lpszArgv)
#endif
/*****************************************************************************/
-int DEFAULT_CC
+int
main(int argc, char **argv)
{
int test;