summaryrefslogtreecommitdiff
path: root/src/login/logind.h
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2017-08-30 16:06:12 +0100
committerSven Eden <yamakuzure@gmx.net>2017-09-25 14:36:07 +0200
commit2605b42dd5331182f30f46362bf171262d0006ee (patch)
treeb47eca388fa2eceb5c1f6a96159f8643547b1274 /src/login/logind.h
parent6f3436beda61eed90f699c3c247ddd587be8076e (diff)
logind: VT_GETSTATE "cannot return state for more than 16 VTs" (#6625)
`vt_is_busy(16)` would always return FALSE. So we could have started autovt@16.service even when VT 16 was already being used for something.
Diffstat (limited to 'src/login/logind.h')
-rw-r--r--src/login/logind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind.h b/src/login/logind.h
index 8f6fb72db..7df3cbc2e 100644
--- a/src/login/logind.h
+++ b/src/login/logind.h
@@ -238,6 +238,7 @@ const struct ConfigPerfItem* logind_gperf_lookup(const char *key, GPERF_LEN_TYPE
int manager_set_lid_switch_ignore(Manager *m, usec_t until);
+int config_parse_n_autovts(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_tmpfs_size(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_user_tasks_max(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);