mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00: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:
parent
3c0ba6b22c
commit
1bb4167211
1 changed files with 18 additions and 0 deletions
|
@ -13,6 +13,24 @@
|
||||||
#include "kd.h"
|
#include "kd.h"
|
||||||
#include "kdterminal.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 *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue