From 00dc5d769ac4a4019d6b6fe22e8383ec8b030a96 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 Oct 2010 02:31:36 +0200 Subject: unit: introduce 'banned' load state for units symlinked to /dev/null --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 8a510ae5c1..2bf86d9979 100644 --- a/src/util.h +++ b/src/util.h @@ -31,6 +31,7 @@ #include #include #include +#include #include "macro.h" @@ -358,6 +359,8 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid); _noreturn_ void freeze(void); +bool null_or_empty(struct stat *st); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) -- cgit v1.2.3-54-g00ecf