diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-11-23 01:07:30 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-24 22:56:39 +0100 |
commit | 33079c8ab91fdd63a07f0da8d598ce5bbbab787f (patch) | |
tree | 9fa4e2e78faaf891276ea5035373de126c53a7d7 /Userland/Libraries/LibC | |
parent | f53bc19b8a47cb014faefa30926eb1f880ad6cc6 (diff) | |
download | serenity-33079c8ab91fdd63a07f0da8d598ce5bbbab787f.zip |
Kernel+UE+LibC: Remove unused dbgputch syscall
Everything uses the dbgputstr syscall anyway, so there is no need to
keep supporting it.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/stdio.cpp | 5 | ||||
-rw-r--r-- | Userland/Libraries/LibC/stdio.h | 1 |
2 files changed, 0 insertions, 6 deletions
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))); |