mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOSKRNL]
Don't include initguid.h in a global header. It causes the guids to be generated in every object file, using 16 bytes per guid. We were lucky that the linker seemed to detect duplicates, so that the resulting image size isn't affected. Add a new file guid.c, that only contains the guids. svn path=/branches/cmake-bringup/; revision=49708
This commit is contained in:
parent
b473508960
commit
d208da9a5b
3 changed files with 6 additions and 1 deletions
|
@ -215,6 +215,7 @@ list(APPEND SOURCE
|
|||
ob/obsecure.c
|
||||
ob/obwait.c
|
||||
po/events.c
|
||||
po/guid.c
|
||||
po/poshtdwn.c
|
||||
po/povolume.c
|
||||
po/power.c
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
||||
*/
|
||||
|
||||
#include "initguid.h"
|
||||
#include <guiddef.h>
|
||||
#include <poclass.h>
|
||||
|
||||
//
|
||||
|
|
4
ntoskrnl/po/guid.c
Normal file
4
ntoskrnl/po/guid.c
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
#include <wdm.h>
|
||||
#include <initguid.h>
|
||||
#include <poclass.h>
|
Loading…
Reference in a new issue