On Monday 20 October 2008 06:39:10 Austin English wrote:
Howdy,
I ran the winapi_check tool today, seems the wiki hadn't been updated in a while 2 years. For those curious, here are the results (I removed the nonbugs as mentioned on the wiki).
dlls/ws2_32/socket.c: ws2_32: WSAStringToAddressW: illegal call to WSAStringToAddressA (Unicode -> ASCII)
Looking at this one.
dlls/rsaenh/implglue.c:41: <>: VOID WINAPI MD5Init(MD5_CTX *): duplicate declaration (first declaration at dlls/msi/msi.c:2919) dlls/rsaenh/implglue.c:42: <>: VOID WINAPI MD5Update(MD5_CTX *,unsigned char *,unsigned int): duplicate declaration (first declaration at dlls/msi/msi.c:2920) dlls/rsaenh/implglue.c:43: <>: VOID WINAPI MD5Final(MD5_CTX *): duplicate declaration (first declaration at dlls/msi/msi.c:2921) dlls/secur32/util.c:104: <>: VOID WINAPI MD4Init(MD4_CTX *): duplicate declaration (first declaration at dlls/rsaenh/implglue.c:37) dlls/secur32/util.c:105: <>: VOID WINAPI MD4Update(MD4_CTX *,unsigned char *,unsigned int): duplicate declaration (first declaration at dlls/rsaenh/implglue.c:38) dlls/secur32/util.c:106: <>: VOID WINAPI MD4Final(MD4_CTX *): duplicate declaration (first declaration at dlls/rsaenh/implglue.c:39) dlls/secur32/util.c:107: <>: VOID WINAPI MD5Init(MD5_CTX *): duplicate declaration (first declaration at dlls/msi/msi.c:2919) dlls/secur32/util.c:108: <>: VOID WINAPI MD5Update(MD5_CTX *,unsigned char *,unsigned int): duplicate declaration (first declaration at dlls/msi/msi.c:2920) dlls/secur32/util.c:109: <>: VOID WINAPI MD5Final(MD5_CTX *): duplicate declaration (first declaration at dlls/msi/msi.c:2921) dlls/winex11.drv/graphics.c:1512: <>: void WINAPI A_SHAInit(sha_ctx *): duplicate declaration (first declaration at dlls/rsaenh/implglue.c:45) dlls/winex11.drv/graphics.c:1513: <>: void WINAPI A_SHAUpdate(sha_ctx *,unsigned char *,unsigned int): duplicate declaration (first declaration at dlls/rsaenh/implglue.c:46) dlls/winex11.drv/graphics.c:1514: <>: void WINAPI A_SHAFinal(sha_ctx *,unsigned char *): duplicate declaration (first declaration at dlls/rsaenh/implglue.c:47)
There's no header file for this, so all the code that uses these functions has to declare this.
Cheers, Kai