make some functions static per 1579343

ulab-original
jsorg71 18 years ago
parent b610beb4ac
commit f386cea14a

@ -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;

@ -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)

@ -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,

@ -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;

@ -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)

@ -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)
{

Loading…
Cancel
Save