summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-14 17:51:04 +0100
committerBert <ber.t@gmx.com>2011-02-14 17:51:04 +0100
commit26cc5aff69856caf01a925ee1357b3650d806d67 (patch)
treee0ecd554c2a910f896e082271d8bc50905e51e68 /util.h
parentea65610747bf324c98f390fba91b8a7c8818006a (diff)
downloadnsxiv-26cc5aff69856caf01a925ee1357b3650d806d67.tar.zst
Read filenames from stdin
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.h b/util.h
index fe8be58..2caf347 100644
--- a/util.h
+++ b/util.h
@@ -19,6 +19,7 @@
#ifndef UTIL_H
#define UTIL_H
+#include <stdio.h>
#include <stdarg.h>
#define ABS(a) ((a) < 0 ? (-(a)) : (a))
@@ -34,4 +35,6 @@ void die(const char*, ...);
void size_readable(float*, const char**);
+char* readline(FILE*);
+
#endif /* UTIL_H */