Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
84bfdccf
Commit
84bfdccf
authored
Oct 13, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add prototypes for the byteswap functions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b416a77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
misc.c
dlls/msvcrt/misc.c
+1
-1
stdlib.h
include/msvcrt/stdlib.h
+3
-0
No files found.
dlls/msvcrt/misc.c
View file @
84bfdccf
...
...
@@ -490,7 +490,7 @@ unsigned short CDECL _byteswap_ushort(unsigned short s)
/*********************************************************************
* _byteswap_ulong (MSVCR80.@)
*/
ULONG
CDECL
_byteswap_ulong
(
ULONG
l
)
__msvcrt_ulong
CDECL
_byteswap_ulong
(
__msvcrt_ulong
l
)
{
return
(
l
<<
24
)
+
((
l
<<
8
)
&
0xFF0000
)
+
((
l
>>
8
)
&
0xFF00
)
+
(
l
>>
24
);
}
...
...
include/msvcrt/stdlib.h
View file @
84bfdccf
...
...
@@ -153,6 +153,9 @@ _ACRTIMP __int64 __cdecl _atoi64(const char*);
_ACRTIMP
long
double
__cdecl
_atold
(
const
char
*
);
_ACRTIMP
int
__cdecl
_atoldbl
(
_LDOUBLE
*
,
char
*
);
_ACRTIMP
void
__cdecl
_beep
(
unsigned
int
,
unsigned
int
);
_ACRTIMP
unsigned
short
__cdecl
_byteswap_ushort
(
unsigned
short
);
_ACRTIMP
__msvcrt_ulong
__cdecl
_byteswap_ulong
(
__msvcrt_ulong
);
_ACRTIMP
unsigned
__int64
__cdecl
_byteswap_uint64
(
unsigned
__int64
);
_ACRTIMP
char
*
__cdecl
_ecvt
(
double
,
int
,
int
*
,
int
*
);
_ACRTIMP
char
*
__cdecl
_fcvt
(
double
,
int
,
int
*
,
int
*
);
_ACRTIMP
char
*
__cdecl
_fullpath
(
char
*
,
const
char
*
,
size_t
);
...
...
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