Removed an unused function.

This commit is contained in:
Alexandre Julliard 2004-12-07 14:48:46 +00:00
parent ee6982eeae
commit 38964fd852
1 changed files with 1 additions and 24 deletions

View File

@ -213,10 +213,7 @@ static void set_dword(res_t *res, int ofs, unsigned d)
/* /*
***************************************************************************** *****************************************************************************
* Function : get_word * Function : get_dword
* get_dword
* Syntax : WORD get_word(res_t *res, int ofs)
* DWORD get_dword(res_t *res, int ofs)
* Input : * Input :
* res - Binary resource to put the data in * res - Binary resource to put the data in
* ofs - Byte offset in data-array * ofs - Byte offset in data-array
@ -226,26 +223,6 @@ static void set_dword(res_t *res, int ofs, unsigned d)
* Remarks : * 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) static DWORD get_dword(res_t *res, int ofs)
{ {
switch(byteorder) switch(byteorder)