From ee3f99c88c9d897eafd7f739e80fe597c48e8650 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 24 Mar 2023 15:25:05 -0600 Subject: [PATCH] Remove ttymode and its associated values. --- src/sudo_exec.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sudo_exec.h b/src/sudo_exec.h index 845691f4e..542c1b143 100644 --- a/src/sudo_exec.h +++ b/src/sudo_exec.h @@ -42,10 +42,6 @@ # define USER_SIGNALED(_info) ((_info) != NULL && (_info)->si_code <= 0) #endif -/* Values for ttymode. */ -#define TERM_COOKED 0 -#define TERM_RAW 1 - struct command_details; struct command_status; struct sudo_event_base; @@ -207,7 +203,6 @@ void add_io_events(struct exec_closure *ec); void del_io_events(bool nonblocking); void init_ttyblock(void); extern struct io_buffer_list iobufs; -extern int ttymode; /* exec_nopty.c */ void exec_nopty(struct command_details *details, struct command_status *cstat);