Add protos for term_* to sudo.h

This commit is contained in:
Todd C. Miller
2009-08-08 12:56:02 +00:00
parent 40a21a6c75
commit 0ab5c31ee0
3 changed files with 6 additions and 8 deletions

5
sudo.c
View File

@@ -147,6 +147,7 @@ uid_t timestamp_uid;
extern int errorlineno;
extern int parse_error;
extern char *errorfile;
extern int script_fds[5];
#if defined(RLIMIT_CORE) && !defined(SUDO_DEVEL)
static struct rlimit corelimit;
#endif /* RLIMIT_CORE && !SUDO_DEVEL */
@@ -165,10 +166,6 @@ static struct sudo_nss_list *snl;
extern char *optarg;
extern int optind;
/* XXX - script.c */
extern int script_fds[5];
extern void term_restore __P((int));
int
main(argc, argv, envp)
int argc;