summaryrefslogtreecommitdiff
path: root/row.h
diff options
context:
space:
mode:
Diffstat (limited to 'row.h')
-rw-r--r--row.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/row.h b/row.h
index f3c9708..e8f6731 100644
--- a/row.h
+++ b/row.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _ROW_H
+#define _ROW_H
#include <ctype.h>
@@ -25,3 +26,5 @@ void delete_row(struct editor_state* editor, int at);
void row_insert_char(struct editor_state* editor, struct editor_row* row, int at, int c);
void row_append_string(struct editor_state* editor, struct editor_row* row, char* string, size_t length);
void row_delete_char(struct editor_state* editor, struct editor_row* row, int at);
+
+#endif