mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[term] enum term_exec -> term_exec_T
This commit is contained in:
parent
534a654eb7
commit
e8df90f7b0
@ -279,7 +279,7 @@ static void
|
||||
exec_on_master_terminal(struct terminal *term,
|
||||
char *path, int plen,
|
||||
char *delete_, int dlen,
|
||||
enum term_exec fg)
|
||||
term_exec_T fg)
|
||||
{
|
||||
int blockh;
|
||||
int param_size = plen + dlen + 2 /* 2 null char */ + 1 /* fg */;
|
||||
@ -322,7 +322,7 @@ static void
|
||||
exec_on_slave_terminal( struct terminal *term,
|
||||
char *path, int plen,
|
||||
char *delete_, int dlen,
|
||||
enum term_exec fg)
|
||||
term_exec_T fg)
|
||||
{
|
||||
int data_size = plen + dlen + 1 /* 0 */ + 1 /* fg */ + 2 /* 2 null char */;
|
||||
char *data = (char *)fmem_alloc(data_size);
|
||||
@ -339,7 +339,7 @@ exec_on_slave_terminal( struct terminal *term,
|
||||
|
||||
void
|
||||
exec_on_terminal(struct terminal *term, char *path,
|
||||
char *delete_, enum term_exec fg)
|
||||
char *delete_, term_exec_T fg)
|
||||
{
|
||||
if (path) {
|
||||
if (!*path) return;
|
||||
|
@ -227,7 +227,9 @@ enum term_exec {
|
||||
TERM_EXEC_NEWWIN = 2
|
||||
};
|
||||
|
||||
void exec_on_terminal(struct terminal *, char *, char *, enum term_exec);
|
||||
typedef int term_exec_T;
|
||||
|
||||
void exec_on_terminal(struct terminal *, char *, char *, term_exec_T);
|
||||
void exec_shell(struct terminal *term);
|
||||
|
||||
int set_terminal_title(struct terminal *, char *);
|
||||
|
Loading…
Reference in New Issue
Block a user