aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/beep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/miscutils/beep.c b/miscutils/beep.c
index f3266dc2d..c17cbfdad 100644
--- a/miscutils/beep.c
+++ b/miscutils/beep.c
@@ -32,8 +32,10 @@ int beep_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
32int beep_main(int argc, char **argv) 32int beep_main(int argc, char **argv)
33{ 33{
34 int speaker = get_console_fd_or_die(); 34 int speaker = get_console_fd_or_die();
35 unsigned length, delay, rep; 35 unsigned tickrate_div_freq = tickrate_div_freq; /* for compiler */
36 unsigned tickrate_div_freq; 36 unsigned length = length;
37 unsigned delay = delay;
38 unsigned rep = rep;
37 int c; 39 int c;
38 40
39 c = 'n'; 41 c = 'n';