diff --git a/gfx/src/xlibrgb/xlibrgb.c b/gfx/src/xlibrgb/xlibrgb.c index 178824e89f6..56fe0876875 100644 --- a/gfx/src/xlibrgb/xlibrgb.c +++ b/gfx/src/xlibrgb/xlibrgb.c @@ -196,7 +196,7 @@ static int static_image_idx; static unsigned char *colorcube; static unsigned char *colorcube_d; -static unsigned long +unsigned long xlib_get_prec_from_mask(unsigned long val) { unsigned long retval = 0; @@ -212,7 +212,7 @@ xlib_get_prec_from_mask(unsigned long val) return retval; } -static unsigned long +unsigned long xlib_get_shift_from_mask(unsigned long val) { unsigned long cur_bit = 0; diff --git a/gfx/src/xlibrgb/xlibrgb.h b/gfx/src/xlibrgb/xlibrgb.h index 2ce2c55d16f..989d471f795 100644 --- a/gfx/src/xlibrgb/xlibrgb.h +++ b/gfx/src/xlibrgb/xlibrgb.h @@ -201,6 +201,12 @@ xlib_rgb_get_display (void); Screen * xlib_rgb_get_screen (void); +unsigned long +xlib_get_prec_from_mask(unsigned long); + +unsigned long +xlib_get_shift_from_mask(unsigned long); + #ifdef __cplusplus } #endif /* __cplusplus */