* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
* Remove useless NDEBUG define.
CORE-7716

svn path=/trunk/; revision=61549
This commit is contained in:
Amine Khaldi 2014-01-06 20:54:43 +00:00
parent b8c40cc9f4
commit fb0c40987e
2 changed files with 6 additions and 8 deletions

View file

@ -11,9 +11,11 @@
* with Windows' system32\logoff.exe commandline application. * with Windows' system32\logoff.exe commandline application.
*/ */
#define NDEBUG
#include "precomp.h" #include "precomp.h"
#include <stdio.h>
#include <tchar.h>
//Commandline argument switches //Commandline argument switches
LPTSTR szRemoteServerName = NULL; LPTSTR szRemoteServerName = NULL;
BOOL bVerbose; BOOL bVerbose;

View file

@ -2,20 +2,16 @@
#define __SHUTDOWN_PRECOMP_H #define __SHUTDOWN_PRECOMP_H
#include <stdarg.h> #include <stdarg.h>
#include <windef.h> #include <windef.h>
#include <winbase.h> #include <winbase.h>
#include <winuser.h> #include <winuser.h>
#include <stdio.h>
//#include <stdlib.h>
#include <tchar.h>
//#include <reason.h> //shutdown codes
#include "resource.h" #include "resource.h"
// misc.c /* misc.c */
INT AllocAndLoadString(OUT LPTSTR *lpTarget, INT AllocAndLoadString(OUT LPTSTR *lpTarget,
IN HINSTANCE hInst, IN HINSTANCE hInst,
IN UINT uID); IN UINT uID);
#endif #endif /* __SHUTDOWN_PRECOMP_H */