From 30860e0d0e2ed996238a6413b71b5fd899342754 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 7 Apr 2014 16:32:20 +0200 Subject: [PATCH] replace: Add nss_wrapper_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 2935b5061f8..2488b5c2b53 100644 --- a/lib/replace/cwrap.c +++ b/lib/replace/cwrap.c @@ -25,6 +25,11 @@ #include "replace.h" +bool nss_wrapper_enabled(void) +{ + return false; +} + bool uid_wrapper_enabled(void) { return false; diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 08a70c97a59..ae383dccc11 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -899,6 +899,7 @@ int usleep(useconds_t); void rep_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2); #endif +bool nss_wrapper_enabled(void); bool uid_wrapper_enabled(void); #endif /* _LIBREPLACE_REPLACE_H */ -- 2.11.4.GIT