aboutsummaryrefslogtreecommitdiff
path: root/grp
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-24 16:48:34 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-24 16:48:34 +0000
commit72eb7808976fc1cf8747f36917767c089cb82d97 (patch)
tree6f84fc089cbee332fd9442769a5acdbc8bf45d76 /grp
parentad0c66a0c0abfab988ff80002b677fbb4dc76d01 (diff)
downloadglibc-72eb7808976fc1cf8747f36917767c089cb82d97.zip
glibc-72eb7808976fc1cf8747f36917767c089cb82d97.tar.gz
glibc-72eb7808976fc1cf8747f36917767c089cb82d97.tar.bz2
(initgroups_dyn_function): Renamed from initgroups_function, adopted prototype for change from 2000-07-23. (initgroups): Follow type change.
Diffstat (limited to 'grp')
-rw-r--r--grp/initgroups.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/grp/initgroups.c b/grp/initgroups.c
index a74a703..54c37ed 100644
--- a/grp/initgroups.c
+++ b/grp/initgroups.c
@@ -27,9 +27,9 @@
#include <nsswitch.h>
/* Type of the lookup function. */
-typedef enum nss_status (*initgroups_function) (const char *, gid_t,
- long int *, long int *,
- gid_t *, long int, int *);
+typedef enum nss_status (*initgroups_dyn_function) (const char *, gid_t,
+ long int *, long int *,
+ gid_t **, long int, int *);
/* Prototype for the setgrent functions we use here. */
typedef enum nss_status (*set_function) (void);
@@ -152,7 +152,7 @@ initgroups (user, group)
#else
service_user *nip = NULL;
- initgroups_function fct;
+ initgroups_dyn_function fct;
enum nss_status status = NSS_STATUS_UNAVAIL;
int no_more;
/* Start is one, because we have the first group as parameter. */