chiark / gitweb /
util: add files_same() helper function
[elogind.git] / src / shared / util.h
index cd166f663710a72f73b6f6d8fe2c1535fca35353..11d28665b6ba5144d5b81fae22124ace9e1ceda5 100644 (file)
@@ -451,6 +451,8 @@ static inline const char *ansi_highlight_off(void) {
         return on_tty() ? ANSI_HIGHLIGHT_OFF : "";
 }
 
+int files_same(const char *filea, const char *fileb);
+
 int running_in_chroot(void);
 
 char *ellipsize(const char *s, size_t length, unsigned percent);
@@ -893,3 +895,5 @@ unsigned long personality_from_string(const char *p);
 const char *personality_to_string(unsigned long);
 
 uint64_t physical_memory(void);
+
+char* mount_test_option(const char *haystack, const char *needle);