]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, libsubid/, po/, src/: get_gid(): Move function to "atoi/getnum.h"
authorAlejandro Colomar <alx@kernel.org>
Tue, 9 Jan 2024 14:34:28 +0000 (15:34 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 29 Jun 2024 18:00:18 +0000 (20:00 +0200)
commitf85a07f140f3fb7af159c73cf2ff4492f2943a95
tree57d20460a3967ed601404f5f9550b8d00b94ff28
parent74a2ed4537f4cb31204e6c586e631e6c0255ed9a
lib/, libsubid/, po/, src/: get_gid(): Move function to "atoi/getnum.h"

Implement it as an inline function, and add restrict and ATTR_STRING()
and ATTR_ACCESS() as appropriate.

Reviewed-by: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/Makefile.am
lib/atoi/getnum.c [new file with mode: 0644]
lib/atoi/getnum.h [moved from lib/get_gid.c with 50% similarity]
lib/prototypes.h
lib/sgetgrent.c
lib/sgetpwent.c
libsubid/api.c
po/POTFILES.in
src/groupadd.c
src/groupmod.c
src/newusers.c