summaryrefslogtreecommitdiff
path: root/row.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-01-08 14:57:40 -0700
committercflip <cflip@cflip.net>2023-01-08 14:57:40 -0700
commit095ef2947d858df7ccc9baa4806fe7366fca26bc (patch)
tree8682d0df1d02f755ca45584d619bc5f2ecb1998d /row.h
parent91195d34e1f71246cadc41705004d66ab647087e (diff)
Use C-style include guards instead of #pragma once
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