diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-07-28 16:53:41 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-07-28 18:27:51 +0200 |
commit | 6c602fd542b7f97e3a23ef27c3839656906c98de (patch) | |
tree | 31ca34bd5ed53a52ae3181878b9ebbe9c92b15f8 /ddk-template.c | |
parent | 3a3cbeecc113daf992de838a39569f6c81876dbe (diff) |
Fixed ctor/dtor issue allowing use of static qualifiers for non primitives.
* split CRT in a C and C++ part
* use "fake" entry point to init CRT and set a DriverUnload routine for de-init
* added -Wl,--exclude-all-symbols to DRIVER_LDFLAGS
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'ddk-template.c')
-rw-r--r-- | ddk-template.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ddk-template.c b/ddk-template.c index 9667b18..2d7becd 100644 --- a/ddk-template.c +++ b/ddk-template.c @@ -13,9 +13,6 @@ NTSTATUS DriverEntry( DbgPrint("%s\n", "Hello ring0!"); - /* support for service stopping */ - DriverObject->DriverUnload = DriverUnload; - return STATUS_SUCCESS; } |