1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

logind: make session_prepare_vt() static

This commit is contained in:
Franck Bui 2019-10-15 16:43:17 +02:00 committed by Yu Watanabe
parent 74f632aca4
commit a03cdb173e
2 changed files with 1 additions and 2 deletions

View File

@ -1183,7 +1183,7 @@ static int session_open_vt(Session *s) {
return s->vtfd;
}
int session_prepare_vt(Session *s) {
static int session_prepare_vt(Session *s) {
int vt, r;
struct vt_mode mode = {};

View File

@ -161,7 +161,6 @@ KillWho kill_who_from_string(const char *s) _pure_;
const char* tty_validity_to_string(TTYValidity t) _const_;
TTYValidity tty_validity_from_string(const char *s) _pure_;
int session_prepare_vt(Session *s);
void session_leave_vt(Session *s);
bool session_is_controller(Session *s, const char *sender);