public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/nss-declare] nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS
@ 2020-02-12 14:16 Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2020-02-12 14:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=974321ecfd961490edab68ada86b4329c4830547
commit 974321ecfd961490edab68ada86b4329c4830547
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Feb 12 11:47:13 2020 +0100
nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS
Diff:
---
nss/nss_compat/compat-grp.c | 2 ++
nss/nss_compat/compat-initgroups.c | 2 ++
nss/nss_compat/compat-pwd.c | 2 ++
nss/nss_compat/compat-spwd.c | 2 ++
4 files changed, 8 insertions(+)
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
* [glibc/fw/nss-declare] nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS
@ 2020-02-12 14:30 Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2020-02-12 14:30 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=36b6bee2407fd588d9bb543db0b6e69ecf4d09f9
commit 36b6bee2407fd588d9bb543db0b6e69ecf4d09f9
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Feb 12 11:47:13 2020 +0100
nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS
Diff:
---
nss/nss_compat/compat-grp.c | 2 ++
nss/nss_compat/compat-initgroups.c | 2 ++
nss/nss_compat/compat-pwd.c | 2 ++
nss/nss_compat/compat-spwd.c | 2 ++
4 files changed, 8 insertions(+)
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-12 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 14:16 [glibc/fw/nss-declare] nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS Florian Weimer
2020-02-12 14:30 Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).