From 87a820faf9df7029c096f3183554159e11243989 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sat, 23 Dec 2023 19:14:36 +0100 Subject: fixes --- 7ed.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to '7ed.h') diff --git a/7ed.h b/7ed.h index 956fa26..f0be605 100644 --- a/7ed.h +++ b/7ed.h @@ -10,22 +10,24 @@ -int COUNT_LINES_IN_FILE (char filename[], uint64_t *lines); +int count_lines_in_file(char filename[], uint64_t *lines); -int COUNT_LINES_IN_FILE_POSIX (char filename[], size_t *lines); +int count_lines_in_file_posix(char filename[], size_t *lines); -void CONFIRM(); +void confirm(); -int CHOICE(); +int choice(); void shuffle(char arr[], int n); int startmode(char filename[]); -int GET_LINE(char filename[], long focus, char **line, size_t *start); +int get_line(char filename[], long focus, char **line, size_t *start); int editmode(char filename[], long focus); -int NEW_LINE(char filename[], long new_line_pos_temp); +int new_line(char filename[], long new_line_pos_temp); -int remove_line_contents(char filename[], long focus); \ No newline at end of file +int remove_line_contents(char filename[], long focus); + +int delete_specified_newline(char filename[], long focus); \ No newline at end of file -- cgit v1.2.3