summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-15 17:25:08 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-15 17:25:08 +0200
commit843d2643849a1ec63034012c8fe50bfaad23190b (patch)
treec073b19d9eb4a164b41c70e60fdcbd2d5e9b9bbf /util.h
parentd9a76d8f860c4ee19c4aa0df685889d058f4c5cb (diff)
log: rework logging logic so that we don't keep /dev/console open
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index b9eb3602c8..ba27c759e8 100644
--- 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)) \