[5/7] nss_db: Use NSS_DECLARE_MODULE_FUNCTIONS

Message ID xnmu9ncmjb.fsf@greed.delorie.com
State Not applicable
Headers

Commit Message

DJ Delorie Feb. 13, 2020, 1:18 a.m. UTC
  Florian Weimer <fweimer@redhat.com> writes:
>  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(-)

LGTM.

Reviewed-by: DJ Delorie <dj@redhat.com

Unneeded whitespace change though:
  

Patch

diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c
index 0ea81c90bb..a8c39d68d9 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,