chiark / gitweb /
Cleaned up more unneeded functions and types in:
[elogind.git] / src / basic / hostname-util.c
index a55b4149d4eff9e9350ef13f9d7846fd6bed6de6..c0048409b6f2f93767580f78c76179e7011e2d69 100644 (file)
@@ -113,6 +113,8 @@ bool hostname_is_valid(const char *s, bool allow_trailing_dot) {
         return true;
 }
 
+/// UNNEEDED by elogind
+#if 0
 char* hostname_cleanup(char *s) {
         char *p, *d;
         bool dot;
@@ -142,6 +144,7 @@ char* hostname_cleanup(char *s) {
 
         return s;
 }
+#endif // 0
 
 bool is_localhost(const char *hostname) {
         assert(hostname);