nss_db: Use NSS_DECLARE_MODULE_FUNCTIONS

Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
Florian Weimer 2020-02-12 11:47:26 +01:00
parent ff10435963
commit 7e3987ab54
3 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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,

View File

@ -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;