mirror of
https://sourceware.org/git/glibc.git
synced 2024-09-20 00:19:57 +00:00
nss_db: Use NSS_DECLARE_MODULE_FUNCTIONS
This commit is contained in:
parent
36b6bee240
commit
977f5ffca9
@ -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);
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user