From 38964fd8523798b95e9449996bfe7383ec7d2f16 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 7 Dec 2004 14:48:46 +0000 Subject: [PATCH] Removed an unused function. --- tools/wrc/genres.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/tools/wrc/genres.c b/tools/wrc/genres.c index 2d9c175405b..7a33e923aae 100644 --- a/tools/wrc/genres.c +++ b/tools/wrc/genres.c @@ -213,10 +213,7 @@ static void set_dword(res_t *res, int ofs, unsigned d) /* ***************************************************************************** - * Function : get_word - * get_dword - * Syntax : WORD get_word(res_t *res, int ofs) - * DWORD get_dword(res_t *res, int ofs) + * Function : get_dword * Input : * res - Binary resource to put the data in * ofs - Byte offset in data-array @@ -226,26 +223,6 @@ static void set_dword(res_t *res, int ofs, unsigned d) * Remarks : ***************************************************************************** */ -static WORD get_word(res_t *res, int ofs) -{ - switch(byteorder) - { -#ifdef WORDS_BIGENDIAN - default: -#endif - case WRC_BO_BIG: - return (res->data[ofs+0] << 8) - | res->data[ofs+1]; - -#ifndef WORDS_BIGENDIAN - default: -#endif - case WRC_BO_LITTLE: - return (res->data[ofs+1] << 8) - | res->data[ofs+0]; - } -} - static DWORD get_dword(res_t *res, int ofs) { switch(byteorder)