summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/xcommon.c
diff options
context:
space:
mode:
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;