Move tty name lookup code to its own file.

This commit is contained in:
Todd C. Miller
2012-01-13 06:01:58 -05:00
parent 83006b000e
commit 106bbebba7
5 changed files with 179 additions and 120 deletions

View File

@@ -227,4 +227,7 @@ int get_net_ifs(char **addrinfo);
/* setgroups.c */
int sudo_setgroups(int ngids, const GETGROUPS_T *gids);
/* ttyname.c */
char *get_process_ttyname(void);
#endif /* _SUDO_SUDO_H */