summaryrefslogtreecommitdiff
path: root/7ed.h
diff options
context:
space:
mode:
authorOskar <[email protected]>2023-10-27 22:21:06 +0200
committerOskar <[email protected]>2023-10-27 22:21:06 +0200
commit37e748be88e6e72c37809018f9c163917d609cbd (patch)
tree659bff87e914555c61d698d03725759fee5f2a87 /7ed.h
parentdfad11647c8ba58ec6912a3baf6c08e1326a28af (diff)
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
Diffstat (limited to '7ed.h')
-rw-r--r--7ed.h8
1 files changed, 4 insertions, 4 deletions
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 */