chiark / gitweb /
load-fragment: remove wrong ifdef guard
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 8 Dec 2014 22:24:34 +0000 (17:24 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 8 Dec 2014 22:27:46 +0000 (17:27 -0500)
config_parse_warn_compat is now always used for removed options.

https://bugs.freedesktop.org/show_bug.cgi?id=87125

src/core/load-fragment.c

index d3859683a1b62841fa5a45b1df4e3055679d6ab0..7f109b893080599d91b73fe476ae2bf3ec5a0c1e 100644 (file)
@@ -64,7 +64,6 @@
 #include "seccomp-util.h"
 #endif
 
-#if !defined(HAVE_SYSV_COMPAT) || !defined(HAVE_SECCOMP) || !defined(HAVE_PAM) || !defined(HAVE_SELINUX) || !defined(HAVE_SMACK) || !defined(HAVE_APPARMOR)
 int config_parse_warn_compat(
                 const char *unit,
                 const char *filename,
@@ -95,7 +94,6 @@ int config_parse_warn_compat(
 
         return 0;
 }
-#endif
 
 int config_parse_unit_deps(const char *unit,
                            const char *filename,