Commit 84bfdccf authored by Alexandre Julliard's avatar Alexandre Julliard

include: Add prototypes for the byteswap functions.

parent 6b416a77
......@@ -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);
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment