Use sudo_strtonum() explicitly instead of via a macro.
This commit is contained in:
@@ -379,11 +379,6 @@ int getdomainname(char *, size_t);
|
||||
# endif
|
||||
#endif /* __hpux && !__LP64__ */
|
||||
|
||||
/* We use our own strtonum() to get translatable error strings. */
|
||||
__dso_public long long sudo_strtonum(const char *, long long, long long, const char **);
|
||||
#undef strtonum
|
||||
#define strtonum(_a, _b, _c, _d) sudo_strtonum((_a), (_b), (_c), (_d))
|
||||
|
||||
/*
|
||||
* Functions "missing" from libc.
|
||||
* All libc replacements are prefixed with "sudo_" to avoid namespace issues.
|
||||
|
Reference in New Issue
Block a user