chiark / gitweb /
Prep v230: Apply missing upstream fixes and updates (2/8) src/basic.
[elogind.git] / src / basic / hostname-util.h
index f22716d0ec197113b1d41ab224a8e35225659635..1c9efabe1833d140046307c889c2f046018fc9d5 100644 (file)
@@ -27,7 +27,9 @@
 bool hostname_is_set(void);
 
 char* gethostname_malloc(void);
+int gethostname_strict(char **ret);
 #endif // 0
+
 bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
 #if 0 /// UNNEEDED by elogind
 char* hostname_cleanup(char *s);