mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-03 15:55:40 +00:00
expand_prompt() is now in prompt.c
sudo_printf extern is now in error.h
This commit is contained in:
@@ -235,6 +235,8 @@ int find_path(char *, char **, struct stat *, char *, int);
|
|||||||
/* check.c */
|
/* check.c */
|
||||||
int check_user(int validate, int mode);
|
int check_user(int validate, int mode);
|
||||||
bool user_is_exempt(void);
|
bool user_is_exempt(void);
|
||||||
|
|
||||||
|
/* prompt.c */
|
||||||
char *expand_prompt(const char *old_prompt, const char *user, const char *host);
|
char *expand_prompt(const char *old_prompt, const char *user, const char *host);
|
||||||
|
|
||||||
/* timestamp.c */
|
/* timestamp.c */
|
||||||
@@ -380,7 +382,6 @@ extern int long_list;
|
|||||||
extern int sudo_mode;
|
extern int sudo_mode;
|
||||||
extern uid_t timestamp_uid;
|
extern uid_t timestamp_uid;
|
||||||
extern sudo_conv_t sudo_conv;
|
extern sudo_conv_t sudo_conv;
|
||||||
extern sudo_printf_t sudo_printf;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _SUDOERS_SUDOERS_H */
|
#endif /* _SUDOERS_SUDOERS_H */
|
||||||
|
Reference in New Issue
Block a user