chiark / gitweb /
log: rework logging logic so that we don't keep /dev/console open
[elogind.git] / util.h
diff --git a/util.h b/util.h
index b9eb3602c85f0e084ea2d439b7de2258c9c524c5..ba27c759e805fd34d09e2463a48b5f6ee97d02e4 100644 (file)
--- a/util.h
+++ b/util.h
@@ -179,6 +179,8 @@ bool chars_intersect(const char *a, const char *b);
 
 char *format_timestamp(char *buf, size_t l, usec_t t);
 
+int make_stdio(int fd);
+
 #define DEFINE_STRING_TABLE_LOOKUP(name,type)                           \
         const char *name##_to_string(type i) {                          \
                 if (i < 0 || i >= (type) ELEMENTSOF(name##_table))      \