From 115a80d3812c1bca35e6e126c067885e53302dcd Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 8 Apr 2014 10:07:14 +0200 Subject: [PATCH] replace: Add nss_wrapper_hosts_enabled(). Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- lib/replace/cwrap.c | 5 +++++ lib/replace/replace.h | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/replace/cwrap.c b/lib/replace/cwrap.c index 2488b5c2b53..19658748b9c 100644 --- a/lib/replace/cwrap.c +++ b/lib/replace/cwrap.c @@ -30,6 +30,11 @@ bool nss_wrapper_enabled(void) return false; } +bool nss_wrapper_hosts_enabled(void) +{ + return false; +} + bool uid_wrapper_enabled(void) { return false; diff --git a/lib/replace/replace.h b/lib/replace/replace.h index ae383dccc11..754ce864b97 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -900,6 +900,7 @@ void rep_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2); #endif bool nss_wrapper_enabled(void); +bool nss_wrapper_hosts_enabled(void); bool uid_wrapper_enabled(void); #endif /* _LIBREPLACE_REPLACE_H */ -- 2.11.4.GIT