mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 07:15:27 +00:00
Change sudo_strtomode() to return mode_t.
This commit is contained in:
@@ -312,7 +312,8 @@ sudo_dso_public id_t sudo_strtoidx_v1(const char *str, const char *sep, char **e
|
||||
|
||||
/* strtomode.c */
|
||||
sudo_dso_public int sudo_strtomode_v1(const char *cp, const char **errstr);
|
||||
#define sudo_strtomode(_a, _b) sudo_strtomode_v1((_a), (_b))
|
||||
sudo_dso_public mode_t sudo_strtomode_v2(const char *cp, const char **errstr);
|
||||
#define sudo_strtomode(_a, _b) sudo_strtomode_v2((_a), (_b))
|
||||
|
||||
/* sudo_printf.c */
|
||||
extern int (*sudo_printf)(int msg_type, const char *fmt, ...);
|
||||
|
Reference in New Issue
Block a user