diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 21:17:12 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 21:17:12 +0100 |
| commit | b5cd18739a64c8d923a55b61c89ae3900faafd84 (patch) | |
| tree | d192f7b25257ae9a8a4760c68f5314dcbc0d9b91 /lib/libc/pwd/getgrgid.c | |
| parent | 119aed5bc787ccbf23d2f151759ec1f3a80977e1 (diff) | |
Fix include paths and formatting inconsistencies
Diffstat (limited to 'lib/libc/pwd/getgrgid.c')
| -rw-r--r-- | lib/libc/pwd/getgrgid.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/pwd/getgrgid.c b/lib/libc/pwd/getgrgid.c index 5e825c12..9b3b5af9 100644 --- a/lib/libc/pwd/getgrgid.c +++ b/lib/libc/pwd/getgrgid.c @@ -1,6 +1,7 @@ -#include <pwd.h> -#include <stddef.h> -#include <limits.h> +#include <limits.h> // for LINE_MAX +#include <pwd.h> // for getpwuid_r, getpwuid, passwd +#include <stddef.h> // for NULL +#include <sys/types.h> // for uid_t struct passwd *getpwuid(uid_t uid) { |
