Author: akhaldi
Date: Mon Jan 6 20:54:43 2014
New Revision: 61549
URL:
http://svn.reactos.org/svn/reactos?rev=61549&view=rev
Log:
[LOGOFF]
* 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
Modified:
trunk/reactos/base/applications/logoff/logoff.c
trunk/reactos/base/applications/logoff/precomp.h
Modified: trunk/reactos/base/applications/logoff/logoff.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/logoff/l…
==============================================================================
--- trunk/reactos/base/applications/logoff/logoff.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/logoff/logoff.c [iso-8859-1] Mon Jan 6 20:54:43 2014
@@ -11,8 +11,10 @@
* with Windows' system32\logoff.exe commandline application.
*/
-#define NDEBUG
#include "precomp.h"
+
+#include <stdio.h>
+#include <tchar.h>
//Commandline argument switches
LPTSTR szRemoteServerName = NULL;
Modified: trunk/reactos/base/applications/logoff/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/logoff/p…
==============================================================================
--- trunk/reactos/base/applications/logoff/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/logoff/precomp.h [iso-8859-1] Mon Jan 6 20:54:43
2014
@@ -2,20 +2,16 @@
#define __SHUTDOWN_PRECOMP_H
#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
-#include <stdio.h>
-//#include <stdlib.h>
-#include <tchar.h>
-//#include <reason.h> //shutdown codes
-
#include "resource.h"
-// misc.c
+/* misc.c */
INT AllocAndLoadString(OUT LPTSTR *lpTarget,
IN HINSTANCE hInst,
IN UINT uID);
-#endif
+#endif /* __SHUTDOWN_PRECOMP_H */