summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.h18
-rw-r--r--xrdp/xrdp_login_wnd.c24
2 files changed, 22 insertions, 20 deletions
diff --git a/xrdp/xrdp.h b/xrdp/xrdp.h
index b9e7bb90..edeaeca4 100644
--- a/xrdp/xrdp.h
+++ b/xrdp/xrdp.h
@@ -266,25 +266,25 @@ xrdp_bitmap_compress(char* in_data, int width, int height,
int e);
/* xrdp_interface.c */
-int
+int DEFAULT_CC
server_begin_update(struct xrdp_mod* mod);
-int
+int DEFAULT_CC
server_end_update(struct xrdp_mod* mod);
-int
+int DEFAULT_CC
server_fill_rect(struct xrdp_mod* mod, int x, int y, int cx, int cy,
int color);
-int
+int DEFAULT_CC
server_screen_blt(struct xrdp_mod* mod, int x, int y, int cx, int cy,
int srcx, int srcy);
-int
+int DEFAULT_CC
server_paint_rect(struct xrdp_mod* mod, int x, int y, int cx, int cy,
char* data);
-int
+int DEFAULT_CC
server_set_pointer(struct xrdp_mod* mod, int x, int y,
char* data, char* mask);
-int
+int DEFAULT_CC
server_palette(struct xrdp_mod* mod, int* palette);
-int
+int DEFAULT_CC
server_msg(struct xrdp_mod* mod, char* msg);
-int
+int DEFAULT_CC
server_is_term(struct xrdp_mod* mod);
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c
index 51bcf77d..83abfc4f 100644
--- a/xrdp/xrdp_login_wnd.c
+++ b/xrdp/xrdp_login_wnd.c
@@ -24,7 +24,7 @@
/*****************************************************************************/
/* all login help screen events go here */
-int APP_CC
+static int DEFAULT_CC
xrdp_wm_login_help_notify(struct xrdp_bitmap* wnd,
struct xrdp_bitmap* sender,
int msg, long param1, long param2)
@@ -78,17 +78,19 @@ logging on.");
return 0;
}
+#if 0
/*****************************************************************************/
-int APP_CC
+static int DEFAULT_CC
xrdp_wm_popup_notify(struct xrdp_bitmap* wnd,
struct xrdp_bitmap* sender,
int msg, int param1, int param2)
{
return 0;
}
+#endif
/*****************************************************************************/
-int
+static int APP_CC
xrdp_wm_setup_mod(struct xrdp_wm* self,
struct xrdp_mod_data* mod_data)
{
@@ -134,7 +136,7 @@ xrdp_wm_setup_mod(struct xrdp_wm* self,
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_delete_all_childs(struct xrdp_wm* self)
{
int i;
@@ -150,7 +152,7 @@ xrdp_wm_delete_all_childs(struct xrdp_wm* self)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
set_mod_data_item(struct xrdp_mod_data* mod, char* name, char* value)
{
int index;
@@ -167,7 +169,7 @@ set_mod_data_item(struct xrdp_mod_data* mod, char* name, char* value)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_help_clicked(struct xrdp_bitmap* wnd)
{
struct xrdp_bitmap* help;
@@ -206,7 +208,7 @@ xrdp_wm_help_clicked(struct xrdp_bitmap* wnd)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_cancel_clicked(struct xrdp_bitmap* wnd)
{
if (wnd != 0)
@@ -223,7 +225,7 @@ xrdp_wm_cancel_clicked(struct xrdp_bitmap* wnd)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_ok_clicked(struct xrdp_bitmap* wnd)
{
struct xrdp_bitmap* combo;
@@ -325,7 +327,7 @@ xrdp_wm_ok_clicked(struct xrdp_bitmap* wnd)
}
/******************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_show_edits(struct xrdp_wm* self, struct xrdp_bitmap* combo)
{
int count;
@@ -403,7 +405,7 @@ xrdp_wm_show_edits(struct xrdp_wm* self, struct xrdp_bitmap* combo)
/*****************************************************************************/
/* all login screen events go here */
-int APP_CC
+static int DEFAULT_CC
xrdp_wm_login_notify(struct xrdp_bitmap* wnd,
struct xrdp_bitmap* sender,
int msg, long param1, long param2)
@@ -458,7 +460,7 @@ xrdp_wm_login_notify(struct xrdp_bitmap* wnd,
}
/******************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_login_fill_in_combo(struct xrdp_wm* self, struct xrdp_bitmap* b)
{
struct list* sections;