get_pty() should return bool

This commit is contained in:
Todd C. Miller
2015-05-07 09:43:19 -06:00
parent d2624ffa96
commit 9c9ff3dc4b
2 changed files with 13 additions and 13 deletions

View File

@@ -195,7 +195,7 @@ int parse_args(int argc, char **argv, int *nargc, char ***nargv,
extern int tgetpass_flags;
/* get_pty.c */
int get_pty(int *master, int *slave, char *name, size_t namesz, uid_t uid);
bool get_pty(int *master, int *slave, char *name, size_t namesz, uid_t uid);
/* sudo.c */
bool exec_setup(struct command_details *details, const char *ptyname, int ptyfd);