[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:
Timo Kreuzer 2010-11-22 14:08:41 +00:00
parent b473508960
commit d208da9a5b
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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
View file

@ -0,0 +1,4 @@
#include <wdm.h>
#include <initguid.h>
#include <poclass.h>