summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-10-24 04:05:38 +0000
committerjsorg71 <jsorg71>2006-10-24 04:05:38 +0000
commitf386cea14aff1cc7518be53aa0ab0a7787fc017b (patch)
tree2bea1fda836297b43d91d3d03a215ad3e508c65e /xrdp
parentb610beb4ac5ce8e1516ff71e0da45014211e43b4 (diff)
downloadxrdp-proprietary-f386cea14aff1cc7518be53aa0ab0a7787fc017b.tar.gz
xrdp-proprietary-f386cea14aff1cc7518be53aa0ab0a7787fc017b.zip
make some functions static per 1579343
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_bitmap.c6
-rw-r--r--xrdp/xrdp_listen.c4
-rw-r--r--xrdp/xrdp_painter.c4
-rw-r--r--xrdp/xrdp_wm.c8
4 files changed, 11 insertions, 11 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 56b8f7e7..a709985f 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -281,7 +281,7 @@ xrdp_bitmap_set_focus(struct xrdp_bitmap* self, int focused)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_bitmap_get_index(struct xrdp_bitmap* self, int* palette, int color)
{
int r;
@@ -772,7 +772,7 @@ xrdp_bitmap_compare_with_crc(struct xrdp_bitmap* self,
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_bitmap_draw_focus_box(struct xrdp_bitmap* self,
struct xrdp_painter* painter,
int x, int y, int cx, int cy)
@@ -810,7 +810,7 @@ xrdp_bitmap_draw_focus_box(struct xrdp_bitmap* self,
/*****************************************************************************/
/* x and y are in relation to self for 0, 0 is the top left of the control */
-int APP_CC
+static int APP_CC
xrdp_bitmap_draw_button(struct xrdp_bitmap* self,
struct xrdp_painter* painter,
int x, int y, int w, int h,
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index 6f17ebb6..7092a6b6 100644
--- a/xrdp/xrdp_listen.c
+++ b/xrdp/xrdp_listen.c
@@ -43,7 +43,7 @@ xrdp_listen_delete(struct xrdp_listen* self)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_listen_term_processes(struct xrdp_listen* self)
{
int i;
@@ -80,7 +80,7 @@ xrdp_listen_term_processes(struct xrdp_listen* self)
/*****************************************************************************/
/* returns error */
-int APP_CC
+static int APP_CC
xrdp_listen_add_pro(struct xrdp_listen* self)
{
int i;
diff --git a/xrdp/xrdp_painter.c b/xrdp/xrdp_painter.c
index 666f5736..2f1600c1 100644
--- a/xrdp/xrdp_painter.c
+++ b/xrdp/xrdp_painter.c
@@ -77,7 +77,7 @@ xrdp_painter_font_needed(struct xrdp_painter* self)
/*****************************************************************************/
/* returns boolean, true if there is something to draw */
-int APP_CC
+static int APP_CC
xrdp_painter_clip_adj(struct xrdp_painter* self, int* x, int* y,
int* cx, int* cy)
{
@@ -149,7 +149,7 @@ xrdp_painter_clr_clip(struct xrdp_painter* self)
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_painter_rop(int rop, int src, int dst)
{
switch (rop & 0x0f)
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index 4a9baecd..c71a5ea3 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -137,7 +137,7 @@ xrdp_wm_set_focused(struct xrdp_wm* self, struct xrdp_bitmap* wnd)
}
/******************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_get_pixel(char* data, int x, int y, int width, int bpp)
{
int start;
@@ -622,7 +622,7 @@ xrdp_wm_xor_pat(struct xrdp_wm* self, int x, int y, int cx, int cy)
/*****************************************************************************/
/* this don't are about nothing, just copy the bits */
/* no clipping rects, no windows in the way, nothing */
-int APP_CC
+static int APP_CC
xrdp_wm_bitblt(struct xrdp_wm* self,
struct xrdp_bitmap* dst, int dx, int dy,
struct xrdp_bitmap* src, int sx, int sy,
@@ -658,7 +658,7 @@ xrdp_wm_bitblt(struct xrdp_wm* self,
/*****************************************************************************/
/* return true is rect is totaly exposed going in reverse z order */
/* from wnd up */
-int APP_CC
+static int APP_CC
xrdp_wm_is_rect_vis(struct xrdp_wm* self, struct xrdp_bitmap* wnd,
struct xrdp_rect* rect)
{
@@ -700,7 +700,7 @@ xrdp_wm_is_rect_vis(struct xrdp_wm* self, struct xrdp_bitmap* wnd,
}
/*****************************************************************************/
-int APP_CC
+static int APP_CC
xrdp_wm_move_window(struct xrdp_wm* self, struct xrdp_bitmap* wnd,
int dx, int dy)
{