1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:37:35 +00:00

Kernel+UE+LibC: Remove unused dbgputch syscall

Everything uses the dbgputstr syscall anyway, so there is no need to
keep supporting it.
This commit is contained in:
Ben Wiederhake 2021-11-23 01:07:30 +01:00 committed by Andreas Kling
parent f53bc19b8a
commit 33079c8ab9
9 changed files with 0 additions and 31 deletions

View file

@ -1149,11 +1149,6 @@ int rename(const char* oldpath, const char* newpath)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
void dbgputch(char ch)
{
syscall(SC_dbgputch, ch);
}
void dbgputstr(const char* characters, size_t length)
{
syscall(SC_dbgputstr, characters, length);

View file

@ -75,7 +75,6 @@ int vsprintf(char* buffer, const char* fmt, va_list) __attribute__((format(print
int vsnprintf(char* buffer, size_t, const char* fmt, va_list) __attribute__((format(printf, 3, 0)));
int fprintf(FILE*, const char* fmt, ...) __attribute__((format(printf, 2, 3)));
int printf(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
void dbgputch(char);
void dbgputstr(const char*, size_t);
int sprintf(char* buffer, const char* fmt, ...) __attribute__((format(printf, 2, 3)));
int asprintf(char** strp, const char* fmt, ...) __attribute__((format(printf, 2, 3)));