endswith_no_case(hostname, ".localdomain.");
}
+/// UNNEEDED by elogind
+#if 0
bool is_gateway_hostname(const char *hostname) {
assert(hostname);
strcaseeq(hostname, "gateway.");
}
-/// UNNEEDED by elogind
-#if 0
int sethostname_idempotent(const char *s) {
char buf[HOST_NAME_MAX + 1] = {};