mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[SHUTDOWN]
* Remove one time inclusions from the main header and put them back where they belong. CORE-7716 svn path=/trunk/; revision=61598
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
const DWORD defaultReason = SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER;
|
||||
|
||||
REASON shutdownReason[] =
|
||||
|
||||
@@ -2,16 +2,13 @@
|
||||
#define __SHUTDOWN_PRECOMP_H
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#include <winuser.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <tchar.h>
|
||||
#include <powrprof.h>
|
||||
// #include <reason.h> // Shutdown codes
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
@@ -60,4 +57,4 @@ VOID DisplayError(DWORD dwError);
|
||||
/* gui.c */
|
||||
BOOL ShutdownGuiMain(struct CommandLineOptions opts);
|
||||
|
||||
#endif
|
||||
#endif /* __SHUTDOWN_PRECOMP_H */
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <tchar.h>
|
||||
#include <powrprof.h>
|
||||
|
||||
/*
|
||||
* This takes strings from a resource stringtable
|
||||
* and outputs it to the console.
|
||||
|
||||
Reference in New Issue
Block a user