Skip to content

Commit 04096bc

Browse files
committed
Update
1 parent a3f4ffb commit 04096bc

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

include/libwindrv/crt/libwindrv.crt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#pragma once
22

33
extern "C" int __cdecl printf(const char *format, ...);
4-
extern "C" int __cdecl dprintf(const char *format, ...);
54
extern "C" int __cdecl puts(const char *_Str);

src/crt/libwindrv.crt.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ extern "C" int __cdecl printf(const char *format, ...)
1515
return NT_SUCCESS(Status);
1616
}
1717

18-
extern "C" int __cdecl dprintf(const char *format, ...)
19-
{
20-
NTSTATUS Status;
21-
va_list Args;
22-
23-
va_start(Args, format);
24-
Status = vDbgPrintEx(DPFLTR_SYSTEM_ID, DPFLTR_INFO_LEVEL, format, Args);
25-
va_end(Args);
26-
27-
return NT_SUCCESS(Status);
28-
}
29-
3018
extern "C" int __cdecl puts(const char *_Str)
3119
{
3220
char Temp[] = {'%', 's', '\n', 0};

0 commit comments

Comments
 (0)