diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2025-09-12 12:29:59 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2025-09-12 14:08:02 +0000 |
| commit | d3f8ed6066fdea329ed695925fc726e84d50abc3 (patch) | |
| tree | 5e92be7037974996f3f9ca9342f169af9b75aa94 | |
| parent | dbcaac13e49c88d1c077f34f56dd2b7ba77a145a (diff) | |
getgrouplist(3): Remove superfluous headers, bogus comment and whitespace
No functional change (intended).
Fixes: a59d6a872459 ("Implementing 'fallback' nsswitch source.")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | lib/libc/gen/getgrouplist.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c index 5bd06bc5121f..cb23b9b2316d 100644 --- a/lib/libc/gen/getgrouplist.c +++ b/lib/libc/gen/getgrouplist.c @@ -29,14 +29,8 @@ * SUCH DAMAGE. */ -/* - * get credential - */ #include <sys/types.h> -#include <grp.h> -#include <string.h> -#include <unistd.h> #include <ssp/ssp.h> 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); } - |
