nss_db: Use NSS_DECLARE_MODULE_FUNCTIONS

This commit is contained in:
Florian Weimer 2020-02-12 11:47:26 +01:00
parent 36b6bee240
commit 977f5ffca9
3 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@
#include <nscd/nscd.h> #include <nscd/nscd.h>
#include <string.h> #include <string.h>
#include "nss_db.h"
#define PWD_FILENAME (_PATH_VARDB "passwd.db") #define PWD_FILENAME (_PATH_VARDB "passwd.db")
define_traced_file (pwd, PWD_FILENAME); define_traced_file (pwd, PWD_FILENAME);

View File

@ -32,7 +32,6 @@
/* The hashing function we use. */ /* The hashing function we use. */
#include "../intl/hash-string.h" #include "../intl/hash-string.h"
enum nss_status enum nss_status
_nss_db_initgroups_dyn (const char *user, gid_t group, long int *start, _nss_db_initgroups_dyn (const char *user, gid_t group, long int *start,
long int *size, gid_t **groupsp, long int limit, long int *size, gid_t **groupsp, long int limit,

View File

@ -23,6 +23,7 @@
#include <stdint.h> #include <stdint.h>
#include <libc-lock.h> #include <libc-lock.h>
NSS_DECLARE_MODULE_FUNCTIONS (db)
/* String table index type. */ /* String table index type. */
typedef uint32_t stridx_t; typedef uint32_t stridx_t;