From 33079c8ab91fdd63a07f0da8d598ce5bbbab787f Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Tue, 23 Nov 2021 01:07:30 +0100 Subject: Kernel+UE+LibC: Remove unused dbgputch syscall Everything uses the dbgputstr syscall anyway, so there is no need to keep supporting it. --- Userland/Libraries/LibC/stdio.cpp | 5 ----- Userland/Libraries/LibC/stdio.h | 1 - 2 files changed, 6 deletions(-) (limited to 'Userland/Libraries/LibC') diff --git a/Userland/Libraries/LibC/stdio.cpp b/Userland/Libraries/LibC/stdio.cpp index 8bc739effd..ac66b256e0 100644 --- a/Userland/Libraries/LibC/stdio.cpp +++ b/Userland/Libraries/LibC/stdio.cpp @@ -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); diff --git a/Userland/Libraries/LibC/stdio.h b/Userland/Libraries/LibC/stdio.h index 9c97eec31f..b8879e4fb3 100644 --- a/Userland/Libraries/LibC/stdio.h +++ b/Userland/Libraries/LibC/stdio.h @@ -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))); -- cgit v1.2.3