Commit bf8943c6 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some issues found by winapi_check.

parent 1051c3fe
......@@ -9,6 +9,7 @@
#include <sys/time.h>
#include <sys/times.h>
#include "file.h"
#include "ntddk.h"
#include "winerror.h"
#include "debugtools.h"
......
......@@ -450,7 +450,7 @@ error_exit:
* HIBYTE of LOWORD: status (SS_COMP or SS_FAILED_INIT)
* LOBYTE of LOWORD: # of host adapters.
*/
DWORD WINAPI GetASPI32SupportInfo()
DWORD __cdecl GetASPI32SupportInfo(void)
{
return ((SS_COMP << 8) | ASPI_GetNumControllers());
}
......@@ -536,8 +536,7 @@ DWORD __cdecl SendASPI32Command(LPSRB lpSRB)
/***********************************************************************
* GetASPI32DLLVersion (WNASPI32.3)
*/
DWORD WINAPI GetASPI32DLLVersion()
DWORD __cdecl GetASPI32DLLVersion(void)
{
#ifdef linux
TRACE("Returning version 1\n");
......@@ -548,18 +547,27 @@ DWORD WINAPI GetASPI32DLLVersion()
#endif
}
/***********************************************************************
* GetASPI32Buffer (WNASPI32.@)
*/
BOOL __cdecl GetASPI32Buffer(/*PASPI32BUFF*/LPVOID pab)
{
FIXME("(%p), stub !\n", pab);
return TRUE;
}
/***********************************************************************
* FreeASPI32Buffer (WNASPI32.@)
*/
BOOL __cdecl FreeASPI32Buffer(/*PASPI32BUFF*/LPVOID pab)
{
FIXME("(%p), stub !\n", pab);
return TRUE;
}
/***********************************************************************
* TranslateASPI32Address (WNASPI32.@)
*/
BOOL __cdecl TranslateASPI32Address(LPDWORD pdwPath, LPDWORD pdwDEVNODE)
{
FIXME("(%p, %p), stub !\n", pdwPath, pdwDEVNODE);
......
......@@ -203,12 +203,9 @@ typedef union tagSRB32 {
#include "poppack.h"
/* Prototypes */
extern DWORD __cdecl
SendASPI32Command (PSRB);
extern DWORD WINAPI
GetASPI32SupportInfo (void);
extern DWORD WINAPI
GetASPI32DLLVersion(void);
extern DWORD __cdecl SendASPI32Command (PSRB);
extern DWORD __cdecl GetASPI32SupportInfo (void);
extern DWORD __cdecl GetASPI32DLLVersion(void);
#ifdef __cplusplus
}
......
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