summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-17 14:32:53 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-17 14:32:53 +0200
commitc081aae9b5d88fb8a7620483a8b62ed38c87b0fc (patch)
treefb857a03b76f6f580322ff961935a89e8c80101a
parentc8fda23a0316ba525612e6ef248a13915470445c (diff)
downloadserenity-c081aae9b5d88fb8a7620483a8b62ed38c87b0fc.zip
LibC: Rename beep() to sysbeep() to avoid clashing with curses.
-rw-r--r--LibC/unistd.cpp2
-rw-r--r--LibC/unistd.h2
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);