Francois Gouget : gdi32: Make init_dib_info() static.
Alexandre Julliard
julliard at winehq.org
Tue Dec 6 15:46:20 CST 2011
Module: wine
Branch: master
Commit: 22cb047ed4870eccb6a1a12bdb095f11d88019cc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=22cb047ed4870eccb6a1a12bdb095f11d88019cc
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Dec 6 17:38:14 2011 +0100
gdi32: Make init_dib_info() static.
---
dlls/gdi32/dibdrv/dc.c | 4 ++--
dlls/gdi32/dibdrv/dibdrv.h | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/gdi32/dibdrv/dc.c b/dlls/gdi32/dibdrv/dc.c
index f9b5e7b..2c61d29 100644
--- a/dlls/gdi32/dibdrv/dc.c
+++ b/dlls/gdi32/dibdrv/dc.c
@@ -67,8 +67,8 @@ static void init_bit_fields(dib_info *dib, const DWORD *bit_fields)
calc_shift_and_len(dib->blue_mask, &dib->blue_shift, &dib->blue_len);
}
-BOOL init_dib_info(dib_info *dib, const BITMAPINFOHEADER *bi, const DWORD *bit_fields,
- RGBQUAD *color_table, int color_table_size, void *bits, enum dib_info_flags flags)
+static BOOL init_dib_info(dib_info *dib, const BITMAPINFOHEADER *bi, const DWORD *bit_fields,
+ RGBQUAD *color_table, int color_table_size, void *bits, enum dib_info_flags flags)
{
dib->bit_count = bi->biBitCount;
dib->width = bi->biWidth;
diff --git a/dlls/gdi32/dibdrv/dibdrv.h b/dlls/gdi32/dibdrv/dibdrv.h
index e3782df..28633e0 100644
--- a/dlls/gdi32/dibdrv/dibdrv.h
+++ b/dlls/gdi32/dibdrv/dibdrv.h
@@ -224,9 +224,6 @@ extern void get_rop_codes(INT rop, struct rop_codes *codes) DECLSPEC_HIDDEN;
extern void calc_and_xor_masks(INT rop, DWORD color, DWORD *and, DWORD *xor) DECLSPEC_HIDDEN;
extern void update_brush_rop( dibdrv_physdev *pdev, INT rop ) DECLSPEC_HIDDEN;
extern void reset_dash_origin(dibdrv_physdev *pdev) DECLSPEC_HIDDEN;
-extern BOOL init_dib_info(dib_info *dib, const BITMAPINFOHEADER *bi, const DWORD *bit_fields,
- RGBQUAD *color_table, int color_table_size, void *bits,
- enum dib_info_flags flags) DECLSPEC_HIDDEN;
extern BOOL init_dib_info_from_brush(dib_info *dib, const BITMAPINFO *bi, void *bits, UINT usage, HPALETTE pal) DECLSPEC_HIDDEN;
extern BOOL init_dib_info_from_bitmapinfo(dib_info *dib, const BITMAPINFO *info, void *bits,
enum dib_info_flags flags) DECLSPEC_HIDDEN;
More information about the wine-cvs
mailing list