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 --- input.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'input.h') diff --git a/input.h b/input.h index 5e63904..bd286b2 100644 --- a/input.h +++ b/input.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef _INPUT_H +#define _INPUT_H #include "editor.h" @@ -20,3 +21,5 @@ enum editor_key { int editor_read_key(); void editor_move_cursor(struct editor_state* editor, int key); void editor_process_keypress(struct editor_state* editor); + +#endif -- cgit v1.2.3