nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONS
Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
parent
6978700688
commit
ff10435963
@ -27,6 +27,8 @@
|
||||
#include <libc-lock.h>
|
||||
#include <kernel-features.h>
|
||||
|
||||
NSS_DECLARE_MODULE_FUNCTIONS (compat)
|
||||
|
||||
static service_user *ni;
|
||||
static enum nss_status (*setgrent_impl) (int stayopen);
|
||||
static enum nss_status (*getgrnam_r_impl) (const char *name,
|
||||
|
@ -30,6 +30,8 @@
|
||||
#include <kernel-features.h>
|
||||
#include <scratch_buffer.h>
|
||||
|
||||
NSS_DECLARE_MODULE_FUNCTIONS (compat)
|
||||
|
||||
static service_user *ni;
|
||||
static enum nss_status (*initgroups_dyn_impl) (const char *, gid_t,
|
||||
long int *, long int *,
|
||||
|
@ -31,6 +31,8 @@
|
||||
#include "netgroup.h"
|
||||
#include "nisdomain.h"
|
||||
|
||||
NSS_DECLARE_MODULE_FUNCTIONS (compat)
|
||||
|
||||
static service_user *ni;
|
||||
static enum nss_status (*setpwent_impl) (int stayopen);
|
||||
static enum nss_status (*getpwnam_r_impl) (const char *name,
|
||||
|
@ -31,6 +31,8 @@
|
||||
#include "netgroup.h"
|
||||
#include "nisdomain.h"
|
||||
|
||||
NSS_DECLARE_MODULE_FUNCTIONS (compat)
|
||||
|
||||
static service_user *ni;
|
||||
static enum nss_status (*setspent_impl) (int stayopen);
|
||||
static enum nss_status (*getspnam_r_impl) (const char *name, struct spwd * sp,
|
||||
|
Loading…
x
Reference in New Issue
Block a user