From bef66bcdf6eb3dbf622507ba5addba3350ec945a Mon Sep 17 00:00:00 2001 From: "quy%igelaus.com.au" Date: Mon, 28 Aug 2000 03:48:52 +0000 Subject: [PATCH] Updating xlib. Not part of the build --- gfx/src/xlibrgb/xlibrgb.c | 4 ++-- gfx/src/xlibrgb/xlibrgb.h | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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 */