logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: d5b13f318f9028e67e6e85f479e612836dcd88df
parent a08ea26e4740cef945dc825b99e6a332cc6150ac
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 13 Jul 2023 02:55:34 +0200

cmd/id: Define only _DEFAULT_SOURCE

Diffstat:

Mcmd/id.c1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/cmd/id.c b/cmd/id.c @@ -2,7 +2,6 @@ // SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only -#define _POSIX_C_SOURCE 200809L #define _DEFAULT_SOURCE // getgrouplist (4.4BSD+) #include <grp.h> // getgrgid, getgroups, getgrouplist(glibc) #include <pwd.h> // getpwuid