Use sudo_strtonum() explicitly instead of via a macro.
This commit is contained in:
@@ -246,6 +246,10 @@ __dso_public const char *sudo_strsplit_v1(const char *str, const char *endstr, c
|
||||
__dso_public int sudo_strtobool_v1(const char *str);
|
||||
#define sudo_strtobool(_a) sudo_strtobool_v1((_a))
|
||||
|
||||
/* strtonum.c */
|
||||
/* Not versioned for historical reasons. */
|
||||
__dso_public long long sudo_strtonum(const char *, long long, long long, const char **);
|
||||
|
||||
/* strtoid.c */
|
||||
__dso_public id_t sudo_strtoid_v1(const char *str, const char *sep, char **endp, const char **errstr);
|
||||
#define sudo_strtoid(_a, _b, _c, _d) sudo_strtoid_v1((_a), (_b), (_c), (_d))
|
||||
|
Reference in New Issue
Block a user