From 095ef2947d858df7ccc9baa4806fe7366fca26bc Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 8 Jan 2023 14:57:40 -0700 Subject: Use C-style include guards instead of #pragma once --- row.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'row.h') 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 @@ -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 -- cgit v1.2.3