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>
This commit is contained in:
Alejandro Colomar
2024-01-09 17:46:21 +01:00
parent 6093c93e81
commit 7f86f893ab
7 changed files with 11 additions and 23 deletions
+1
View File
@@ -34,6 +34,7 @@
#include "alloc.h"
#include "atoi/a2i.h"
#include "atoi/getnum.h"
#include "atoi/str2i.h"
#include "chkname.h"
#include "defines.h"