public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/nss-declare] nss_db: 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=3d44d5b242bfb63b365f92618619161816dc6405

commit 3d44d5b242bfb63b365f92618619161816dc6405
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Feb 12 11:47:26 2020 +0100

    nss_db: Use NSS_DECLARE_MODULE_FUNCTIONS

Diff:
---
 nss/nss_db/db-init.c       | 2 ++
 nss/nss_db/db-initgroups.c | 1 -
 nss/nss_db/nss_db.h        | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/nss/nss_db/db-init.c b/nss/nss_db/db-init.c
index 1ba5b70..6f48b82 100644
--- a/nss/nss_db/db-init.c
+++ b/nss/nss_db/db-init.c
@@ -22,6 +22,8 @@
 #include <nscd/nscd.h>
 #include <string.h>
 
+#include "nss_db.h"
+
 #define PWD_FILENAME (_PATH_VARDB "passwd.db")
 define_traced_file (pwd, PWD_FILENAME);
 
diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c
index 0ea81c9..a8c39d6 100644
--- a/nss/nss_db/db-initgroups.c
+++ b/nss/nss_db/db-initgroups.c
@@ -32,7 +32,6 @@
 /* The hashing function we use.  */
 #include "../intl/hash-string.h"
 
-
 enum nss_status
 _nss_db_initgroups_dyn (const char *user, gid_t group, long int *start,
 			long int *size, gid_t **groupsp, long int limit,
diff --git a/nss/nss_db/nss_db.h b/nss/nss_db/nss_db.h
index 24942f5..e354909 100644
--- a/nss/nss_db/nss_db.h
+++ b/nss/nss_db/nss_db.h
@@ -23,6 +23,7 @@
 #include <stdint.h>
 #include <libc-lock.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (db)
 
 /* String table index type.  */
 typedef uint32_t stridx_t;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [glibc/fw/nss-declare] nss_db: 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=977f5ffca9e97adedcd9025198dd9c5071d52f9b

commit 977f5ffca9e97adedcd9025198dd9c5071d52f9b
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Feb 12 11:47:26 2020 +0100

    nss_db: Use NSS_DECLARE_MODULE_FUNCTIONS

Diff:
---
 nss/nss_db/db-init.c       | 2 ++
 nss/nss_db/db-initgroups.c | 1 -
 nss/nss_db/nss_db.h        | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/nss/nss_db/db-init.c b/nss/nss_db/db-init.c
index 1ba5b70..6f48b82 100644
--- a/nss/nss_db/db-init.c
+++ b/nss/nss_db/db-init.c
@@ -22,6 +22,8 @@
 #include <nscd/nscd.h>
 #include <string.h>
 
+#include "nss_db.h"
+
 #define PWD_FILENAME (_PATH_VARDB "passwd.db")
 define_traced_file (pwd, PWD_FILENAME);
 
diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c
index 0ea81c9..a8c39d6 100644
--- a/nss/nss_db/db-initgroups.c
+++ b/nss/nss_db/db-initgroups.c
@@ -32,7 +32,6 @@
 /* The hashing function we use.  */
 #include "../intl/hash-string.h"
 
-
 enum nss_status
 _nss_db_initgroups_dyn (const char *user, gid_t group, long int *start,
 			long int *size, gid_t **groupsp, long int limit,
diff --git a/nss/nss_db/nss_db.h b/nss/nss_db/nss_db.h
index 24942f5..e354909 100644
--- a/nss/nss_db/nss_db.h
+++ b/nss/nss_db/nss_db.h
@@ -23,6 +23,7 @@
 #include <stdint.h>
 #include <libc-lock.h>
 
+NSS_DECLARE_MODULE_FUNCTIONS (db)
 
 /* String table index type.  */
 typedef uint32_t stridx_t;


^ 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_db: 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).