Commit 5e6943f4 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some issues found by winapi_check.

parent bb7cc80f
...@@ -222,7 +222,7 @@ static HRESULT WINAPI IAVIFile_fnDeleteStream(IAVIFile*iface,DWORD fccType,LONG ...@@ -222,7 +222,7 @@ static HRESULT WINAPI IAVIFile_fnDeleteStream(IAVIFile*iface,DWORD fccType,LONG
/*********************************************************************** /***********************************************************************
* AVIFileOpenA (AVIFIL32.@) * AVIFileOpenA (AVIFIL32.@)
* AVIFileOpenA (AVIFILE.102) * AVIFileOpen (AVIFILE.102)
*/ */
HRESULT WINAPI AVIFileOpenA( HRESULT WINAPI AVIFileOpenA(
PAVIFILE * ppfile,LPCSTR szFile,UINT uMode,LPCLSID lpHandler PAVIFILE * ppfile,LPCSTR szFile,UINT uMode,LPCLSID lpHandler
......
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
#include <unistd.h> #include <unistd.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H #ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h> # include <sys/errno.h>
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
#include <unistd.h> #include <unistd.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H #ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h> # include <sys/errno.h>
......
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(shdocvw); WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (SHDOCVW.109) */ * DllCanUnloadNow (SHDOCVW.@)
*/
HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void) HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
...@@ -39,7 +40,7 @@ HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void) ...@@ -39,7 +40,7 @@ HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
} }
/************************************************************************* /*************************************************************************
* DllGetClassObject (SHDOCVW.312) * DllGetClassObject (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
...@@ -58,7 +59,7 @@ HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *p ...@@ -58,7 +59,7 @@ HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *p
} }
/*********************************************************************** /***********************************************************************
* DllGetVersion (SHDOCVW.113) * DllGetVersion (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
...@@ -67,7 +68,7 @@ HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi) ...@@ -67,7 +68,7 @@ HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
} }
/************************************************************************* /*************************************************************************
* DllInstall (SHDOCVW.114) * DllInstall (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline) HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
{ {
...@@ -77,7 +78,7 @@ HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline) ...@@ -77,7 +78,7 @@ HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
} }
/*********************************************************************** /***********************************************************************
* DllRegisterServer (SHDOCVW.124) * DllRegisterServer (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllRegisterServer() HRESULT WINAPI SHDOCVW_DllRegisterServer()
{ {
...@@ -86,7 +87,7 @@ HRESULT WINAPI SHDOCVW_DllRegisterServer() ...@@ -86,7 +87,7 @@ HRESULT WINAPI SHDOCVW_DllRegisterServer()
} }
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (SHDOCVW.127) * DllUnregisterServer (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllUnregisterServer() HRESULT WINAPI SHDOCVW_DllUnregisterServer()
{ {
......
...@@ -510,8 +510,11 @@ void WINAPI DPMI_FreeInternalRMCB( FARPROC16 proc ) ...@@ -510,8 +510,11 @@ void WINAPI DPMI_FreeInternalRMCB( FARPROC16 proc )
} }
/* DPMI Raw Mode Switch handler */ /**********************************************************************
* RawModeSwitch (WINEDOS.@)
*
* DPMI Raw Mode Switch handler
*/
void WINAPI DOSVM_RawModeSwitch( CONTEXT86 *context ) void WINAPI DOSVM_RawModeSwitch( CONTEXT86 *context )
{ {
CONTEXT86 rm_ctx; CONTEXT86 rm_ctx;
......
...@@ -37,7 +37,9 @@ ...@@ -37,7 +37,9 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_MMAN_H #ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h> # include <sys/mman.h>
#endif #endif
......
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
......
...@@ -30,7 +30,10 @@ ...@@ -30,7 +30,10 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include "windef.h" #include "windef.h"
#include "mmddk.h" #include "mmddk.h"
#include "oss.h" #include "oss.h"
......
...@@ -27,7 +27,10 @@ ...@@ -27,7 +27,10 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include "windef.h" #include "windef.h"
#include "mmddk.h" #include "mmddk.h"
#include "oss.h" #include "oss.h"
......
...@@ -41,7 +41,9 @@ ...@@ -41,7 +41,9 @@
#ifdef HAVE_SYS_IPC_H #ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h> # include <sys/ipc.h>
#endif #endif
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_FILIO_H #ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h> # include <sys/filio.h>
#endif #endif
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
#ifdef HAVE_SYS_IPC_H #ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h> # include <sys/ipc.h>
#endif #endif
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_FILIO_H #ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h> # include <sys/filio.h>
#endif #endif
......
...@@ -49,7 +49,9 @@ ...@@ -49,7 +49,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
......
...@@ -833,7 +833,9 @@ void EVENT_ProcessEvent( XEvent *event ) ...@@ -833,7 +833,9 @@ void EVENT_ProcessEvent( XEvent *event )
break; break;
case PropertyNotify: case PropertyNotify:
// EVENT_PropertyNotify( (XPropertyEvent *)event ); #if 0
EVENT_PropertyNotify( (XPropertyEvent *)event );
#endif
break; break;
default: /* ignore all other events */ default: /* ignore all other events */
......
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <errno.h> #include <errno.h>
#include <linux/ppdev.h> #include <linux/ppdev.h>
......
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