getgrouplist(3): Remove superfluous headers, bogus comment and whitespace

No functional change (intended).

Fixes:          a59d6a8724 ("Implementing 'fallback' nsswitch source.")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
This commit is contained in:
Olivier Certner
2025-09-12 14:29:59 +02:00
parent dbcaac13e4
commit d3f8ed6066
-7
View File
@@ -29,14 +29,8 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/*
* get credential
*/
#include <sys/types.h> #include <sys/types.h>
#include <grp.h>
#include <string.h>
#include <unistd.h>
#include <ssp/ssp.h> #include <ssp/ssp.h>
extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *); extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *);
@@ -46,4 +40,3 @@ __ssp_real(getgrouplist)(const char *uname, gid_t agroup, gid_t *groups, int *gr
{ {
return __getgroupmembership(uname, agroup, groups, *grpcnt, grpcnt); return __getgroupmembership(uname, agroup, groups, *grpcnt, grpcnt);
} }