summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/xcommon.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 /sesman/chansrv/xcommon.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'sesman/chansrv/xcommon.c')
-rw-r--r--sesman/chansrv/xcommon.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sesman/chansrv/xcommon.c b/sesman/chansrv/xcommon.c
index 92124407..8abc27f7 100644
--- a/sesman/chansrv/xcommon.c
+++ b/sesman/chansrv/xcommon.c
@@ -51,7 +51,7 @@ Atom g_net_wm_name = 0;
Atom g_wm_state = 0;
/*****************************************************************************/
-static int DEFAULT_CC
+static int
xcommon_error_handler(Display *dis, XErrorEvent *xer)
{
char text[256];
@@ -68,7 +68,7 @@ xcommon_error_handler(Display *dis, XErrorEvent *xer)
Do any cleanup that needs to be done on exit, like removing temporary files.
Don't worry about memory leaks */
#if 0
-static int DEFAULT_CC
+static int
xcommon_fatal_handler(Display *dis)
{
return 0;
@@ -80,7 +80,7 @@ xcommon_fatal_handler(Display *dis)
this is like g_time2 in os_calls, but not milliseconds since machine was
up, something else
this is a time value similar to what the xserver uses */
-int APP_CC
+int
xcommon_get_local_time(void)
{
return g_time3();
@@ -88,7 +88,7 @@ xcommon_get_local_time(void)
/******************************************************************************/
/* this should be called first */
-int APP_CC
+int
xcommon_init(void)
{
if (g_display != 0)
@@ -139,7 +139,7 @@ xcommon_init(void)
/* returns error
this is called to get any wait objects for the main loop
timeout can be nil */
-int APP_CC
+int
xcommon_get_wait_objs(tbus *objs, int *count, int *timeout)
{
int lcount;
@@ -156,7 +156,7 @@ xcommon_get_wait_objs(tbus *objs, int *count, int *timeout)
}
/*****************************************************************************/
-int APP_CC
+int
xcommon_check_wait_objs(void)
{
XEvent xevent;