summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/c_ctrls.c4
-rw-r--r--src/c_input.h1
-rw-r--r--src/c_keys.h12
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