summaryrefslogtreecommitdiff
path: root/src/basic/terminal-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-01 21:11:12 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-01 21:11:12 +0200
commit2c6c4ab2f5523940df64af205315612d89b818f0 (patch)
tree732599107fb011f08cc9fa2a7b0eda2d08363474 /src/basic/terminal-util.h
parent8ac5aaa9fa47622e480391886c34f052f5ff909d (diff)
logind: remove warn_melody() logic
The internal speaker is usually not available on modern latops that support suspend, and even if it is available in the hardware, most distributions turned support for it off in the kernel. And even if it is enabled, it's probably still a bad idea to make use of it for the suspend-failures. If anything a proper sound should be played. Long story short, let's remove support of this anachronism.
Diffstat (limited to 'src/basic/terminal-util.h')
-rw-r--r--src/basic/terminal-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h
index a9e325ccb3..da2a5b8897 100644
--- a/src/basic/terminal-util.h
+++ b/src/basic/terminal-util.h
@@ -67,8 +67,6 @@ bool tty_is_console(const char *tty) _pure_;
int vtnr_from_tty(const char *tty);
const char *default_term_for_tty(const char *tty);
-void warn_melody(void);
-
int make_stdio(int fd);
int make_null_stdio(void);
int make_console_stdio(void);