diff options
-rw-r--r-- | common/file.c | 4 | ||||
-rw-r--r-- | common/log.c | 2 | ||||
-rw-r--r-- | xrdp/xrdp_bitmap.c | 6 | ||||
-rw-r--r-- | xrdp/xrdp_listen.c | 4 | ||||
-rw-r--r-- | xrdp/xrdp_painter.c | 4 | ||||
-rw-r--r-- | xrdp/xrdp_wm.c | 8 |
6 files changed, 14 insertions, 14 deletions
diff --git a/common/file.c b/common/file.c index afd0b75a..c12fa325 100644 --- a/common/file.c +++ b/common/file.c @@ -86,7 +86,7 @@ file_read_sections(int fd, struct list* names) } /*****************************************************************************/ -int APP_CC +static int APP_CC file_read_line(struct stream* s, char* text) { int i; @@ -140,7 +140,7 @@ file_read_line(struct stream* s, char* text) } /*****************************************************************************/ -int APP_CC +static int APP_CC file_split_name_value(char* text, char* name, char* value) { int len; diff --git a/common/log.c b/common/log.c index 05461864..eb9e9feb 100644 --- a/common/log.c +++ b/common/log.c @@ -89,7 +89,7 @@ log_xrdp2syslog(const int lvl) * @return syslog equivalent logging level * */ -void DEFAULT_CC +static void DEFAULT_CC log_lvl2str(int lvl, char* str) { switch (lvl) 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) { |