]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, po/, src/: get_uid(): Move function to "atoi/getnum.h"
authorAlejandro Colomar <alx@kernel.org>
Tue, 9 Jan 2024 16:46:21 +0000 (17:46 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 29 Jun 2024 18:00:18 +0000 (20:00 +0200)
commit7f86f893abff0cb36c3328cba02a172799554825
tree15b68d34ce3c5ea8f0f3190173e909c53f2bfb7c
parent6093c93e8190287b977c63595f35c09f7ee87a29
lib/, po/, src/: get_uid(): 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
lib/atoi/getnum.h
lib/get_uid.c [deleted file]
lib/prototypes.h
po/POTFILES.in
src/usermod.c