chiark / gitweb /
Move BTRFS_IOC_DEVICES_READY to missing.h
[elogind.git] / src / shared / util.h
index 45294800e4dcf4556556092146265f1643ec608c..3e89aaf17fe2a1e9640a355c4a7c084a921c9436 100644 (file)
@@ -84,6 +84,7 @@
 #endif
 
 #include "macro.h"
+#include "missing.h"
 #include "time-util.h"
 
 /* What is interpreted as whitespace? */
@@ -169,7 +170,7 @@ static inline const char *startswith_no_case(const char *s, const char *prefix)
 
 char *endswith(const char *s, const char *postfix) _pure_;
 
-bool first_word(const char *s, const char *word) _pure_;
+char *first_word(const char *s, const char *word) _pure_;
 
 int close_nointr(int fd);
 int safe_close(int fd);