From c081aae9b5d88fb8a7620483a8b62ed38c87b0fc Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 17 May 2019 14:32:53 +0200 Subject: [PATCH] LibC: Rename beep() to sysbeep() to avoid clashing with curses. --- LibC/unistd.cpp | 2 +- LibC/unistd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LibC/unistd.cpp b/LibC/unistd.cpp index baa99bbd5d..a31600c97b 100644 --- a/LibC/unistd.cpp +++ b/LibC/unistd.cpp @@ -475,7 +475,7 @@ int donate(int tid) __RETURN_WITH_ERRNO(rc, rc, -1); } -void beep() +void sysbeep() { syscall(SC_beep); } diff --git a/LibC/unistd.h b/LibC/unistd.h index b184a5a435..c8cfa50086 100644 --- a/LibC/unistd.h +++ b/LibC/unistd.h @@ -14,7 +14,7 @@ __BEGIN_DECLS extern char** environ; -void beep(); +void sysbeep(); int systrace(pid_t); int gettid(); int donate(int tid);