From 1bcc642f56e82dfaecd1a5c105aef6b25f0ae1e1 Mon Sep 17 00:00:00 2001 From: salad Date: Tue, 10 Nov 2020 18:57:55 +0100 Subject: nrom fixeeeeeeeeeeeeeeeeeeeeeeedd --- src/c_ctrls.c | 4 ++-- src/c_input.h | 1 - src/c_keys.h | 12 ++++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/c_ctrls.c b/src/c_ctrls.c index dae91a2..f841705 100644 --- a/src/c_ctrls.c +++ b/src/c_ctrls.c @@ -47,7 +47,7 @@ char *c_ctrl_c(char **line, char *buf, t_msh *msh) return (ft_strdup("\0")); } -void c_signal_int(int signo) +void c_signal_int(int signo) { static t_msh *msh; @@ -60,7 +60,7 @@ void c_signal_int(int signo) ioctl(1, TIOCSTI, "\002"); } -void c_signal_ign(int signo) +void c_signal_ign(int signo) { t_msh *msh; diff --git a/src/c_input.h b/src/c_input.h index e2dc0da..f2ccba8 100644 --- a/src/c_input.h +++ b/src/c_input.h @@ -19,5 +19,4 @@ unsigned int c_get_line_num(char *line, unsigned int cpos, unsigned int plen, short c_init_line(char psx, t_caps *tcaps); unsigned short c_get_win_size(struct winsize *ws); - #endif diff --git a/src/c_keys.h b/src/c_keys.h index 6b48431..4569051 100644 --- a/src/c_keys.h +++ b/src/c_keys.h @@ -13,11 +13,11 @@ #ifndef C_KEYS_H # define C_KEYS_H -short c_key_right(unsigned int len, unsigned int plen, t_caps *tcaps); -short c_key_left(unsigned int plen, t_caps *tcaps); -short c_home_key(unsigned int plen, t_caps *tcaps); -short c_end_key(unsigned short size, unsigned int plen, t_caps *tcaps); -short c_ctrl_l(char *line, t_caps *tcaps, t_msh *msh); -char *c_ctrl_c(char **line, char *buf, t_msh *msh); +short c_key_right(unsigned int len, unsigned int plen, t_caps *tcaps); +short c_key_left(unsigned int plen, t_caps *tcaps); +short c_home_key(unsigned int plen, t_caps *tcaps); +short c_end_key(unsigned short size, unsigned int plen, t_caps *tcaps); +short c_ctrl_l(char *line, t_caps *tcaps, t_msh *msh); +char *c_ctrl_c(char **line, char *buf, t_msh *msh); #endif -- cgit v1.2.3