* Add header guards to the main headers.
CORE-7716

svn path=/trunk/; revision=62022
This commit is contained in:
Amine Khaldi 2014-02-07 16:58:53 +00:00
parent 4b0e4bc515
commit 38408e0a97
18 changed files with 72 additions and 6 deletions

View file

@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _STRMBASE_PCH_
#define _STRMBASE_PCH_
#include <wine/config.h>
#include <assert.h>
@ -73,3 +76,5 @@ HRESULT QualityControlRender_WaitFor(QualityControlImpl *This, IMediaSample *sam
void QualityControlRender_DoQOS(QualityControlImpl *priv);
void QualityControlRender_BeginRender(QualityControlImpl *This);
void QualityControlRender_EndRender(QualityControlImpl *This);
#endif /* _STRMBASE_PCH_ */

View file

@ -5,6 +5,9 @@
* Copyright 2001 - 2005 Eric Kohl
*/
#ifndef _CMLIB_H_
#define _CMLIB_H_
//
// Debug support switch
//
@ -406,3 +409,5 @@ HvpCreateHiveFreeCellList(
ULONG CMAPI
HvpHiveHeaderChecksum(
PHBASE_BLOCK HiveHeader);
#endif /* _CMLIB_H_ */

View file

@ -1,4 +1,5 @@
#pragma once
#ifndef _HIDPARSER_H_
#define _HIDPARSER_H_
#include <wdm.h>
#include <pshpack1.h>
@ -393,3 +394,5 @@ PHID_REPORT
HidParser_GetReportInCollection(
IN PVOID Context,
IN UCHAR ReportType);
#endif /* _HIDPARSER_H_ */

View file

@ -1,3 +1,6 @@
#ifndef _IP_PCH_
#define _IP_PCH_
#include <tags.h>
#include <tcpip.h>
#include <loopback.h>
@ -17,3 +20,5 @@
#include <interface.h>
#include <ports.h>
#include <chew/chew.h>
#endif /* _IP_PCH_ */

View file

@ -1,5 +1,10 @@
#ifndef _MMEBUDDY_PCH_
#define _MMEBUDDY_PCH_
#include <stdarg.h>
#include <windef.h>
#include <mmddk.h>
#include <sndtypes.h>
#include <mmebuddy.h>
#endif /* _MMEBUDDY_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _MMENT4_PCH_
#define _MMENT4_PCH_
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
@ -7,3 +10,5 @@
#include <sndnames.h>
#include <sndtypes.h>
#include <mmebuddy.h>
#endif /* _MMENT4_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _MMIXER_PCH_
#define _MMIXER_PCH_
#include <wdm.h>
#include <windef.h>
#define NOBITMAP
@ -518,3 +521,5 @@ MMixerGetConnectedFromLogicalTopologyPins(
VOID
MMixerPrintTopology();
#endif /* _MMIXER_PCH_ */

View file

@ -1,4 +1,9 @@
#ifndef _EPSAPI_PCH_
#define _EPSAPI_PCH_
#define NTOS_MODE_USER
#include <ndk/exfuncs.h>
#include <epsapi/epsapi.h>
#endif /* _EPSAPI_PCH_ */

View file

@ -5,6 +5,9 @@
* HOMEPAGE: http://ext2.yeah.net
*/
#ifndef _MKE2FS_H_
#define _MKE2FS_H_
/* INCLUDES **************************************************************/
#define NTOS_MODE_USER
@ -393,3 +396,5 @@ ULONG ext2_unix_time (LONGLONG n_time);
*/
void uuid_generate(__u8 * uuid);
#endif /* _MKE2FS_H_ */

View file

@ -4,6 +4,9 @@
* FILE: vfatlib.h
*/
#ifndef _VFATLIB_H_
#define _VFATLIB_H_
#include <stdio.h>
#define WIN32_NO_STATUS
@ -145,4 +148,6 @@ UpdateProgress(PFORMAT_CONTEXT Context,
VOID
VfatPrint(PCHAR Format, ...);
#endif /* _VFATLIB_H_ */
/* EOF */

View file

@ -4,6 +4,9 @@
* FILE: vfatxlib.h
*/
#ifndef _VFATXLIB_H_
#define _VFATXLIB_H_
#define NTOS_MODE_USER
#include <ndk/umtypes.h>
#include <ndk/pstypes.h>
@ -45,4 +48,6 @@ VOID
VfatxUpdateProgress (PFORMAT_CONTEXT Context,
ULONG Increment);
#endif /* _VFATXLIB_H_ */
/* EOF */

View file

@ -4,6 +4,9 @@
* COPYRIGHT: Copyright 2005 Ge van Geldorp <gvg@reactos.org>
*/
#ifndef _INFLIB_PCH_
#define _INFLIB_PCH_
#include <ctype.h>
#include <stddef.h>
#include <stdlib.h>
@ -12,4 +15,4 @@
#include "infcommon.h"
#include "infpriv.h"
/* EOF */
#endif /* _INFLIB_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _RECYCLEBIN_PRIVATE_H_
#define _RECYCLEBIN_PRIVATE_H_
#include <stdio.h>
#define COBJMACROS
@ -44,3 +47,5 @@ HRESULT RecycleBinGenericEnum_Constructor(OUT IRecycleBinEnumList **pprbel);
/* recyclebin_v5.c */
HRESULT RecycleBin5_Constructor(IN LPCWSTR VolumePath, OUT IUnknown **ppUnknown);
#endif /* _RECYCLEBIN_PRIVATE_H_ */

View file

@ -4,6 +4,7 @@
* FILE: lib/smlib/compses.c
* PURPOSE: Call SM API SM_API_COMPLETE_SESSION
*/
#include "precomp.h"
#define NDEBUG

View file

@ -4,6 +4,7 @@
* FILE: lib/smlib/execpgm.c
* PURPOSE: Call SM API SM_API_EXECPGM
*/
#include "precomp.h"
#define NDEBUG

View file

@ -3,6 +3,7 @@
* PROJECT: ReactOS system libraries
* FILE: lib/smlib/lookupss.c
*/
#include "precomp.h"
#define NDEBUG

View file

@ -6,9 +6,9 @@
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
*/
/* INCLUDES ******************************************************************/
#ifndef _SMLIB_PCH_
#define _SMLIB_PCH_
/* SDK/DDK/NDK Headers. */
#define WIN32_NO_STATUS
#include <windef.h>
#include <winreg.h>
@ -21,3 +21,4 @@
#include <sm/helper.h>
#endif /* _SMLIB_PCH_ */

View file

@ -9,9 +9,10 @@
/* INCLUDES *******************************************************************/
#include "precomp.h"
#include "sm/smmsg.h" // To go in precomp.h after
#include <sm/smmsg.h> // To go in precomp.h after
#define NDEBUG
#include "debug.h"
#include <debug.h>
/* FUNCTIONS ******************************************************************/