From f66a4530ea2fb6097d2aee3105c732aa79267add Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 14 Dec 2023 12:23:37 +0100 Subject: removed useless stuff --- 7ed | Bin 0 -> 43656 bytes 7ed.h | 45 +-------------------------------------------- 2 files changed, 1 insertion(+), 44 deletions(-) create mode 100755 7ed diff --git a/7ed b/7ed new file mode 100755 index 0000000..c957b1b Binary files /dev/null and b/7ed differ diff --git a/7ed.h b/7ed.h index 65cbaaa..cf8dd57 100644 --- a/7ed.h +++ b/7ed.h @@ -8,65 +8,22 @@ #define BUF_SZ_4 4096 #define BUF_SZ_8 8192 -#ifndef COUNT_LINES_IN_FILE_H -#define COUNT_LINES_IN_FILE_H -int COUNT_LINES_IN_FILE (char filename[], uint64_t *lines); - -#endif /* COUNT_LINES_IN_FILE_H */ -#ifndef COUNT_LINES_IN_FILE_POSIX_H -#define COUNT_LINES_IN_FILE_POSIX_H +int COUNT_LINES_IN_FILE (char filename[], uint64_t *lines); int COUNT_LINES_IN_FILE_POSIX (char filename[], size_t *lines); -#endif /* COUNT_LINES_IN_FILE_POSIX_H */ - -#ifndef CONFIRM_H -#define CONFIRM_H - void CONFIRM(); -#endif /* CONFIRM_H */ - -#ifndef CHOICE_H -#define CHOICE_H - int CHOICE(); -#endif /* CHOICE_H */ - -#ifndef SHUFFLE_H -#define SHUFFLE_H - void shuffle(char arr[], int n); -#endif /* SHUFFLE_H */ - -#ifndef STARTMODE_H -#define STARTMODE_H int startmode(char filename[]); -#endif /* STARTMODE_H */ - - -#ifndef GET_LINE_H -#define GET_LINE_H - int GET_LINE(char filename[], long focus, char **line, size_t *start); -#endif /* GET_LINE_H */ - -#ifndef EDITMODE_H -#define EDITMODE_H - int editmode(char filename[], long focus); -#endif /* EDITMODE_H */ - -#ifndef NEW_LINE_H -#define NEW_LINE_H - int NEW_LINE(char filename[]); - -#endif /* NEW_LINE_H */ \ No newline at end of file -- cgit v1.2.3