diff options
author | cflip <cflip@cflip.net> | 2023-01-08 14:57:40 -0700 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2023-01-08 14:57:40 -0700 |
commit | 095ef2947d858df7ccc9baa4806fe7366fca26bc (patch) | |
tree | 8682d0df1d02f755ca45584d619bc5f2ecb1998d /editor.h | |
parent | 91195d34e1f71246cadc41705004d66ab647087e (diff) |
Use C-style include guards instead of #pragma once
Diffstat (limited to 'editor.h')
-rw-r--r-- | editor.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,5 @@ -#pragma once +#ifndef _EDITOR_H +#define _EDITOR_H #include <time.h> #include "buffer.h" @@ -33,3 +34,5 @@ void editor_scroll(struct editor_state* editor); void editor_draw_rows(struct editor_state* editor, struct append_buffer* buffer); void editor_draw_status_bar(struct editor_state* editor, struct append_buffer* buffer); void editor_draw_message_bar(struct editor_state* editor, struct append_buffer* buffer); + +#endif |