summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-07 23:02:45 -0500
committerLennart Poettering <lennart@poettering.net>2010-11-10 22:38:43 +0100
commite23a0ce8badd09aefa961a3a576bfe85f6ebbad7 (patch)
tree146fa8975cd6ebf899b79fd66d9af678242e9d35 /src/util.h
parent1829dc9dc5f38cd1aaa43912de56c3bb5d8b5617 (diff)
cryptsetup: minimal cryptsetup unit generator
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index b469009bf7..b7ef51e2ce 100644
--- a/src/util.h
+++ b/src/util.h
@@ -370,7 +370,9 @@ int ask_password_tty(const char *message, usec_t until, const char *flag_file, c
void dual_timestamp_serialize(FILE *f, const char *name, dual_timestamp *t);
void dual_timestamp_deserialize(const char *value, dual_timestamp *t);
-#define NULSTR_FOREACH(i, l) \
+char *fstab_node_to_udev_node(const char *p);
+
+#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)
#define NULSTR_FOREACH_PAIR(i, j, l) \