Remove dead code and unexport some calls

"make check-api-unused" informs us about code that is not used anymore
or that is exported but only used internally. Fix these all over the
place.
This commit is contained in:
Lennart Poettering
2013-11-08 18:12:45 +01:00
parent f842cd74ea
commit 9588bc3209
22 changed files with 98 additions and 318 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ _pure_ static const char *tty_path(const ExecContext *context) {
return "/dev/console";
}
void exec_context_tty_reset(const ExecContext *context) {
static void exec_context_tty_reset(const ExecContext *context) {
assert(context);
if (context->tty_vhangup)