mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
AK+LibC: Remove dbgprintf() :^)
Everything has been moved to dbgln() or other AK::Format-based APIs. We can finally get rid of this old thing.
This commit is contained in:
parent
542d8591e0
commit
8d98051551
4 changed files with 0 additions and 20 deletions
|
@ -841,20 +841,6 @@ void rewind(FILE* stream)
|
|||
ASSERT(rc == 0);
|
||||
}
|
||||
|
||||
int vdbgprintf(const char* fmt, va_list ap)
|
||||
{
|
||||
return printf_internal([](char*&, char ch) { dbgputch(ch); }, nullptr, fmt, ap);
|
||||
}
|
||||
|
||||
int dbgprintf(const char* fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
int ret = printf_internal([](char*&, char ch) { dbgputch(ch); }, nullptr, fmt, ap);
|
||||
va_end(ap);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void stdout_putch(char*&, char ch)
|
||||
{
|
||||
putchar(ch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue