Commit 2349a5eb authored by Alexandre Julliard's avatar Alexandre Julliard

include: Move some included files outside of extern "C".

parent 380fd731
...@@ -22,13 +22,13 @@ ...@@ -22,13 +22,13 @@
#ifndef __WINE_DDRAWI_H #ifndef __WINE_DDRAWI_H
#define __WINE_DDRAWI_H #define __WINE_DDRAWI_H
#include <ddraw.h>
#include <dciddi.h> /* the DD HAL is layered onto DCI escapes */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <ddraw.h>
#include <dciddi.h> /* the DD HAL is layered onto DCI escapes */
typedef struct _DDVIDEOPORTCAPS *LPDDVIDEOPORTCAPS; /* should be in dvp.h */ typedef struct _DDVIDEOPORTCAPS *LPDDVIDEOPORTCAPS; /* should be in dvp.h */
typedef struct _DDKERNELCAPS *LPDDKERNELCAPS; /* should be in ddkernel.h */ typedef struct _DDKERNELCAPS *LPDDKERNELCAPS; /* should be in ddkernel.h */
typedef struct _VMEMHEAP *LPVMEMHEAP; /* should be in dmemmgr.h */ typedef struct _VMEMHEAP *LPVMEMHEAP; /* should be in dmemmgr.h */
......
...@@ -19,14 +19,14 @@ ...@@ -19,14 +19,14 @@
#ifndef MAPIVAL_H #ifndef MAPIVAL_H
#define MAPIVAL_H #define MAPIVAL_H
#ifdef __cplusplus
extern "C" {
#endif
#include <mapiutil.h> #include <mapiutil.h>
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
BOOL WINAPI FBadRglpszW(LPWSTR*,ULONG); BOOL WINAPI FBadRglpszW(LPWSTR*,ULONG);
BOOL WINAPI FBadRowSet(LPSRowSet); BOOL WINAPI FBadRowSet(LPSRowSet);
BOOL WINAPI FBadRglpNameID(LPMAPINAMEID*,ULONG); BOOL WINAPI FBadRglpNameID(LPMAPINAMEID*,ULONG);
......
...@@ -19,14 +19,14 @@ ...@@ -19,14 +19,14 @@
#ifndef __WINE_MSI_H #ifndef __WINE_MSI_H
#define __WINE_MSI_H #define __WINE_MSI_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _MSI_NO_CRYPTO #ifndef _MSI_NO_CRYPTO
#include <wincrypt.h> #include <wincrypt.h>
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
typedef ULONG MSIHANDLE; typedef ULONG MSIHANDLE;
typedef enum tagINSTALLSTATE typedef enum tagINSTALLSTATE
......
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
#ifndef __WINE_RPCNDR_H #ifndef __WINE_RPCNDR_H
#define __WINE_RPCNDR_H #define __WINE_RPCNDR_H
#include <basetsd.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <basetsd.h>
#undef CONST_VTBL #undef CONST_VTBL
#ifdef CONST_VTABLE #ifdef CONST_VTABLE
# define CONST_VTBL const # define CONST_VTBL const
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include <commctrl.h> #include <commctrl.h>
#include <prsht.h> #include <prsht.h>
#include <shlguid.h> #include <shlguid.h>
#include <shtypes.h>
#include <shobjidl.h>
#ifdef WINE_NO_UNICODE_MACROS #ifdef WINE_NO_UNICODE_MACROS
#undef GetObject #undef GetObject
...@@ -35,9 +37,6 @@ extern "C" { ...@@ -35,9 +37,6 @@ extern "C" {
/* Except for specific structs, this header is byte packed */ /* Except for specific structs, this header is byte packed */
#include <pshpack1.h> #include <pshpack1.h>
#include <shtypes.h>
#include <shobjidl.h>
#ifndef HPSXA_DEFINED #ifndef HPSXA_DEFINED
#define HPSXA_DEFINED #define HPSXA_DEFINED
DECLARE_HANDLE(HPSXA); DECLARE_HANDLE(HPSXA);
......
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