aboutsummaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index f242f48..e320b66 100644
--- a/src/common.h
+++ b/src/common.h
@@ -3,9 +3,9 @@
#include <stdlib.h>
struct line_view {
- char* line;
+ const char* line;
size_t length;
};
line_view load_file(const char*);
-line_view next_line(const char*, size_t);
+line_view next_line(line_view);