aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-12 11:47:13 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-13 09:14:47 +0100
commitff104359639db9748abf4690febc07e9d917b11f (patch)
treee7f7992f0ab27ff1a116619a81c9c422096eec42 /nss
parent6978700688f6ebc8213f3340e67490d22e7921c2 (diff)
downloadglibc-ff104359639db9748abf4690febc07e9d917b11f.zip
glibc-ff104359639db9748abf4690febc07e9d917b11f.tar.gz
glibc-ff104359639db9748abf4690febc07e9d917b11f.tar.bz2
nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'nss')
-rw-r--r--nss/nss_compat/compat-grp.c2
-rw-r--r--nss/nss_compat/compat-initgroups.c2
-rw-r--r--nss/nss_compat/compat-pwd.c2
-rw-r--r--nss/nss_compat/compat-spwd.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/nss/nss_compat/compat-grp.c b/nss/nss_compat/compat-grp.c
index 561511c..14aadc6 100644
--- a/nss/nss_compat/compat-grp.c
+++ b/nss/nss_compat/compat-grp.c
@@ -27,6 +27,8 @@
#include <libc-lock.h>
#include <kernel-features.h>
+NSS_DECLARE_MODULE_FUNCTIONS (compat)
+
static service_user *ni;
static enum nss_status (*setgrent_impl) (int stayopen);
static enum nss_status (*getgrnam_r_impl) (const char *name,
diff --git a/nss/nss_compat/compat-initgroups.c b/nss/nss_compat/compat-initgroups.c
index d2a280d..67a4c10 100644
--- a/nss/nss_compat/compat-initgroups.c
+++ b/nss/nss_compat/compat-initgroups.c
@@ -30,6 +30,8 @@
#include <kernel-features.h>
#include <scratch_buffer.h>
+NSS_DECLARE_MODULE_FUNCTIONS (compat)
+
static service_user *ni;
static enum nss_status (*initgroups_dyn_impl) (const char *, gid_t,
long int *, long int *,
diff --git a/nss/nss_compat/compat-pwd.c b/nss/nss_compat/compat-pwd.c
index b964e6f..dfb454f 100644
--- a/nss/nss_compat/compat-pwd.c
+++ b/nss/nss_compat/compat-pwd.c
@@ -31,6 +31,8 @@
#include "netgroup.h"
#include "nisdomain.h"
+NSS_DECLARE_MODULE_FUNCTIONS (compat)
+
static service_user *ni;
static enum nss_status (*setpwent_impl) (int stayopen);
static enum nss_status (*getpwnam_r_impl) (const char *name,
diff --git a/nss/nss_compat/compat-spwd.c b/nss/nss_compat/compat-spwd.c
index 15f5b95..0a1fde1 100644
--- a/nss/nss_compat/compat-spwd.c
+++ b/nss/nss_compat/compat-spwd.c
@@ -31,6 +31,8 @@
#include "netgroup.h"
#include "nisdomain.h"
+NSS_DECLARE_MODULE_FUNCTIONS (compat)
+
static service_user *ni;
static enum nss_status (*setspent_impl) (int stayopen);
static enum nss_status (*getspnam_r_impl) (const char *name, struct spwd * sp,