From 37e748be88e6e72c37809018f9c163917d609cbd Mon Sep 17 00:00:00 2001 From: Oskar Date: Fri, 27 Oct 2023 22:21:06 +0200 Subject: GET_LINE() function is done. It was a PAIN to get working right. I hope to god ill be able to reuse code from here if in other functions. Im suspecting that im going to have to --- 7ed.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '7ed.h') diff --git a/7ed.h b/7ed.h index 5083ed8..3686773 100644 --- a/7ed.h +++ b/7ed.h @@ -49,9 +49,9 @@ int startmode(char filename[]); #endif /* STARTMODE_H */ -#ifndef PRINT_7ED_H -#define PRINT_7ED_H +#ifndef GET_LINE_H +#define GET_LINE_H -int print_7ed(char filename[], long focus); +int GET_LINE(char filename[], long focus, char **line); -#endif /* PRINT_7ED_H */ +#endif /* GET_LINE_H */ -- cgit v1.2.3