mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +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
|
@ -33,8 +33,6 @@
|
|||
# include <AK/Types.h>
|
||||
# include <stdarg.h>
|
||||
extern "C" {
|
||||
int vdbgprintf(const char* fmt, va_list) __attribute__((format(printf, 1, 0)));
|
||||
int dbgprintf(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
|
||||
int dbgputstr(const char*, ssize_t);
|
||||
int sprintf(char* buf, const char* fmt, ...) __attribute__((format(printf, 2, 3)));
|
||||
int snprintf(char* buffer, size_t, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
|
@ -43,7 +41,6 @@ int snprintf(char* buffer, size_t, const char* fmt, ...) __attribute__((format(p
|
|||
#else
|
||||
# include <stdio.h>
|
||||
# define kprintf printf
|
||||
# define dbgprintf(...) fprintf(stderr, __VA_ARGS__)
|
||||
inline int dbgputstr(const char* characters, ssize_t length)
|
||||
{
|
||||
fwrite(characters, 1, length, stderr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue