chiark / gitweb /
sd-dhcp: make sure client->secs > 0
[elogind.git] / src / shared / util.h
index e4de4728bdf3b66e69464c52a83ee3913a690e01..9aea3a4e505ffe59b616e13fb2aabd67f2ad86bf 100644 (file)
@@ -833,7 +833,6 @@ static inline void _reset_locale_(struct _locale_struct_ *s) {
              _saved_locale_.quit = true)
 
 bool id128_is_valid(const char *s) _pure_;
-void parse_user_at_host(char *arg, char **user, char **host);
 
 int split_pair(const char *s, const char *sep, char **l, char **r);
 
@@ -867,3 +866,5 @@ int writev_safe(int fd, const struct iovec *w, int j);
 
 int mkostemp_safe(char *pattern, int flags);
 int open_tmpfile(const char *path, int flags);
+
+int fd_warn_permissions(const char *path, int fd);