mirror of
https://sourceware.org/git/glibc.git
synced 2024-09-20 00:19:57 +00:00
nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONS
This commit is contained in:
parent
a4f0631ace
commit
d8af48b1d7
@ -26,6 +26,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
||||||
|
NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
|
||||||
|
|
||||||
/* Get the declaration of the parser function. */
|
/* Get the declaration of the parser function. */
|
||||||
#define ENTNAME grent
|
#define ENTNAME grent
|
||||||
#define STRUCTURE group
|
#define STRUCTURE group
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
|
||||||
|
|
||||||
/* Declare a parser for Hesiod protocol entries. Although the format
|
/* Declare a parser for Hesiod protocol entries. Although the format
|
||||||
of the entries is identical to those in /etc/protocols, here is no
|
of the entries is identical to those in /etc/protocols, here is no
|
||||||
predefined parser for us to use. */
|
predefined parser for us to use. */
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
|
||||||
|
|
||||||
/* Get the declaration of the parser function. */
|
/* Get the declaration of the parser function. */
|
||||||
#define ENTNAME pwent
|
#define ENTNAME pwent
|
||||||
#define STRUCTURE passwd
|
#define STRUCTURE passwd
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
NSS_DECLARE_MODULE_FUNCTIONS (hesiod)
|
||||||
|
|
||||||
/* Hesiod uses a format for service entries that differs from the
|
/* Hesiod uses a format for service entries that differs from the
|
||||||
traditional format. We therefore declare our own parser. */
|
traditional format. We therefore declare our own parser. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user