chiark / gitweb /
Prep v226: Mask all unneeded functions
[elogind.git] / src / basic / hostname-util.c
index f221c6ff1dc31fb3cf5c922413f42057fc6d6574..a55b4149d4eff9e9350ef13f9d7846fd6bed6de6 100644 (file)
@@ -159,6 +159,8 @@ bool is_localhost(const char *hostname) {
                endswith_no_case(hostname, ".localdomain.");
 }
 
+/// UNNEEDED by elogind
+#if 0
 bool is_gateway_hostname(const char *hostname) {
         assert(hostname);
 
@@ -170,8 +172,6 @@ bool is_gateway_hostname(const char *hostname) {
                 strcaseeq(hostname, "gateway.");
 }
 
-/// UNNEEDED by elogind
-#if 0
 int sethostname_idempotent(const char *s) {
         char buf[HOST_NAME_MAX + 1] = {};