1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

LibC: Rename beep() to sysbeep() to avoid clashing with curses.

This commit is contained in:
Andreas Kling 2019-05-17 14:32:53 +02:00
parent c8fda23a03
commit c081aae9b5
2 changed files with 2 additions and 2 deletions

View file

@ -475,7 +475,7 @@ int donate(int tid)
__RETURN_WITH_ERRNO(rc, rc, -1); __RETURN_WITH_ERRNO(rc, rc, -1);
} }
void beep() void sysbeep()
{ {
syscall(SC_beep); syscall(SC_beep);
} }

View file

@ -14,7 +14,7 @@ __BEGIN_DECLS
extern char** environ; extern char** environ;
void beep(); void sysbeep();
int systrace(pid_t); int systrace(pid_t);
int gettid(); int gettid();
int donate(int tid); int donate(int tid);