mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[NTOS:KD] Fix build, addendum to commit f3dd7133
.
This one was more subtle because the prompt (KdIoReadLine) functionality makes a call-back to KDBG own command history getter function KdbGetHistoryEntry. It is planned for this to become a registered optional callback pointer.
This commit is contained in:
@@ -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 *****************************************************************/
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user