chiark / gitweb /
add new hexchar() call
[elogind.git] / util.h
diff --git a/util.h b/util.h
index 9aceaef47fd5e118d3a8a9a811fbf036b3cf944a..fcf380031d8d3f1c09b86058e0dacc598c408e57 100644 (file)
--- a/util.h
+++ b/util.h
@@ -61,6 +61,7 @@ bool endswith(const char *s, const char *postfix);
 bool startswith(const char *s, const char *prefix);
 
 int close_nointr(int fd);
+void close_nointr_nofail(int fd);
 
 int parse_boolean(const char *v);
 
@@ -104,4 +105,6 @@ int reset_all_signal_handlers(void);
 char *strstrip(char *s);
 char *file_in_same_dir(const char *path, const char *filename);
 
+char hexchar(int x);
+
 #endif