Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
38964fd8
Commit
38964fd8
authored
Dec 07, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed an unused function.
parent
ee6982ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
genres.c
tools/wrc/genres.c
+1
-24
No files found.
tools/wrc/genres.c
View file @
38964fd8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment