chiark / gitweb /
Prep v228: Condense elogind source masks (1/5)
[elogind.git] / src / basic / hostname-util.h
index 6eba0a0759acf2ec6a54d12a53ce9e793af81499..2a264888bb3a5175d6aaba803480883ce8c0480a 100644 (file)
 
 #include "macro.h"
 
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
 bool hostname_is_set(void);
 
 char* gethostname_malloc(void);
 #endif // 0
 bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
 char* hostname_cleanup(char *s);
 #endif // 0
 
 #define machine_name_is_valid(s) hostname_is_valid(s, false)
 
 bool is_localhost(const char *hostname);
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
 bool is_gateway_hostname(const char *hostname);
 
 int sethostname_idempotent(const char *s);