mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +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:
parent
aa3faf1dcc
commit
33fee669e6
3 changed files with 9 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue