util: move display_is_local() to pam_systemd.c, its only user
It's quite specific anyway, hence let's move this where it's used
This commit is contained in:
@@ -43,8 +43,6 @@ static inline const char* enable_disable(bool b) {
|
||||
return b ? "enable" : "disable";
|
||||
}
|
||||
|
||||
bool display_is_local(const char *display) _pure_;
|
||||
|
||||
#define NULSTR_FOREACH(i, l) \
|
||||
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user