diff --git a/ntoskrnl/kd/kdprompt.c b/ntoskrnl/kd/kdprompt.c index 3743ca2b3b2..ec4d7134616 100644 --- a/ntoskrnl/kd/kdprompt.c +++ b/ntoskrnl/kd/kdprompt.c @@ -13,6 +13,24 @@ #include "kd.h" #include "kdterminal.h" +/* In kdb.h only when KDBG defined */ +#ifdef KDBG +extern PCSTR +KdbGetHistoryEntry( + _Inout_ PLONG NextIndex, + _In_ BOOLEAN Next); +#else +PCSTR +KdbGetHistoryEntry( + _Inout_ PLONG NextIndex, + _In_ BOOLEAN Next) +{ + /* Dummy function */ + return NULL; +} +#endif + + /* FUNCTIONS *****************************************************************/ /**