Author: akhaldi Date: Wed Feb 5 18:17:27 2014 New Revision: 61993
URL: http://svn.reactos.org/svn/reactos?rev=61993&view=rev Log: [CPLS] * Add header guards to the main headers. CORE-7716
Modified: trunk/reactos/dll/cpl/access/access.h trunk/reactos/dll/cpl/appwiz/appwiz.h trunk/reactos/dll/cpl/console/console.h trunk/reactos/dll/cpl/desk/desk.h trunk/reactos/dll/cpl/input/input.h trunk/reactos/dll/cpl/intl/intl.h trunk/reactos/dll/cpl/main/main.h trunk/reactos/dll/cpl/mmsys/mmsys.h trunk/reactos/dll/cpl/powercfg/powercfg.h trunk/reactos/dll/cpl/timedate/timedate.h trunk/reactos/dll/cpl/usrmgr/misc.c trunk/reactos/dll/cpl/usrmgr/users.c trunk/reactos/dll/cpl/usrmgr/usrmgr.h trunk/reactos/dll/cpl/wined3dcfg/wined3dcfg.h
Modified: trunk/reactos/dll/cpl/access/access.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/access.h?rev... ============================================================================== --- trunk/reactos/dll/cpl/access/access.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/access/access.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _ACCESS_H +#define _ACCESS_H + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -68,4 +71,4 @@ INT_PTR CALLBACK MousePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK SoundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-/* EOF */ +#endif /* _ACCESS_H */
Modified: trunk/reactos/dll/cpl/appwiz/appwiz.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/appwiz.h?rev... ============================================================================== --- trunk/reactos/dll/cpl/appwiz/appwiz.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/appwiz/appwiz.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _APPWIZ_H +#define _APPWIZ_H + #include <config.h> #include <wine/port.h>
@@ -82,4 +85,4 @@ return ret; }
-/* EOF */ +#endif /* _APPWIZ_H */
Modified: trunk/reactos/dll/cpl/console/console.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/console/console.h?r... ============================================================================== --- trunk/reactos/dll/cpl/console/console.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/console/console.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,9 +1,10 @@ #ifndef CONSOLE_H__ #define CONSOLE_H__
-#define WIN32_NO_STATUS #include <limits.h> // just for UINT_MAX in layout.c #include <tchar.h> + +#define WIN32_NO_STATUS
#include <windef.h> #include <winbase.h>
Modified: trunk/reactos/dll/cpl/desk/desk.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/desk.h?rev=619... ============================================================================== --- trunk/reactos/dll/cpl/desk/desk.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/desk/desk.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _DESK_H +#define _DESK_H + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -126,3 +129,4 @@ IN DWORD Flags, IN LPCWSTR pszDirectory OPTIONAL);
+#endif /* _DESK_H */
Modified: trunk/reactos/dll/cpl/input/input.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/input.h?rev=6... ============================================================================== --- trunk/reactos/dll/cpl/input/input.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/input/input.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _INPUT_H +#define _INPUT_H + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -70,4 +73,4 @@
void ShowLastWin32Error(HWND hWndOwner);
-/* EOF */ +#endif /* _INPUT_H */
Modified: trunk/reactos/dll/cpl/intl/intl.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/intl.h?rev=619... ============================================================================== --- trunk/reactos/dll/cpl/intl/intl.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/intl/intl.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _INTL_H +#define _INTL_H + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -114,4 +117,4 @@ /* kblayouts.c */ VOID AddNewKbLayoutsByLcid(LCID Lcid);
-/* EOF */ +#endif /* _INTL_H */
Modified: trunk/reactos/dll/cpl/main/main.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/main.h?rev=619... ============================================================================== --- trunk/reactos/dll/cpl/main/main.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/main/main.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _MAIN_H +#define _MAIN_H + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -61,4 +64,4 @@ LONG APIENTRY MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
-/* EOF */ +#endif /* _MAIN_H */
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.h?rev=6... ============================================================================== --- trunk/reactos/dll/cpl/mmsys/mmsys.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/mmsys/mmsys.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _MMSYS_H +#define _MMSYS_H + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -79,4 +82,4 @@ WPARAM wParam, LPARAM lParam);
-/* EOF */ +#endif /* _MMSYS_H */
Modified: trunk/reactos/dll/cpl/powercfg/powercfg.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powercfg.h... ============================================================================== --- trunk/reactos/dll/cpl/powercfg/powercfg.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/powercfg/powercfg.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _POWERCFG_H +#define _POWERCFG_H + #include <stdarg.h>
#define _INC_WINDOWS @@ -34,4 +37,4 @@ INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-/* EOF */ +#endif /* _POWERCFG_H */
Modified: trunk/reactos/dll/cpl/timedate/timedate.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/timedate.h... ============================================================================== --- trunk/reactos/dll/cpl/timedate/timedate.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/timedate/timedate.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _TIMEDATE_H +#define _TIMEDATE_H + #include <stdarg.h>
#define _INC_WINDOWS @@ -118,4 +121,4 @@ BOOL RegisterMonthCalControl(IN HINSTANCE hInstance); VOID UnregisterMonthCalControl(IN HINSTANCE hInstance);
-/* EOF */ +#endif /* _TIMEDATE_H */
Modified: trunk/reactos/dll/cpl/usrmgr/misc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/misc.c?rev=6... ============================================================================== --- trunk/reactos/dll/cpl/usrmgr/misc.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/usrmgr/misc.c [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -8,7 +8,6 @@ */
#include "usrmgr.h" -
VOID DebugPrintf(LPTSTR szFormat, ...)
Modified: trunk/reactos/dll/cpl/usrmgr/users.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/users.c?rev=... ============================================================================== --- trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -15,7 +15,6 @@ */
#include "usrmgr.h" -
typedef struct _USER_DATA {
Modified: trunk/reactos/dll/cpl/usrmgr/usrmgr.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/usrmgr.h?rev... ============================================================================== --- trunk/reactos/dll/cpl/usrmgr/usrmgr.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/usrmgr/usrmgr.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,5 +1,9 @@ +#ifndef _USRMGR_H +#define _USRMGR_H + +#include <stdarg.h> + #define WIN32_NO_STATUS -#include <stdarg.h> #include <windef.h> #include <winbase.h> #include <winuser.h> @@ -43,3 +47,5 @@ /* userprops.c */ BOOL UserProperties(HWND hwndDlg); + +#endif /* _USRMGR_H */
Modified: trunk/reactos/dll/cpl/wined3dcfg/wined3dcfg.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/wined3dcfg/wined3dc... ============================================================================== --- trunk/reactos/dll/cpl/wined3dcfg/wined3dcfg.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/wined3dcfg/wined3dcfg.h [iso-8859-1] Wed Feb 5 18:17:27 2014 @@ -1,3 +1,6 @@ +#ifndef _WINED3DCFG_PCH_ +#define _WINED3DCFG_PCH_ + #include <stdarg.h>
#define WIN32_NO_STATUS @@ -36,3 +39,5 @@ #define KEY_LOCKING L"RenderTargetLockMode"
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); + +#endif /* _WINED3DCFG_PCH_ */