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
commit c081aae9b5
Notes: sideshowbarker 2024-07-19 14:04:54 +09:00
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);
}
void beep()
void sysbeep()
{
syscall(SC_beep);
}

View file

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