summaryrefslogtreecommitdiff
path: root/src/keycode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keycode.h')
-rw-r--r--src/keycode.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/keycode.h b/src/keycode.h
index b413d0396..9352fa4c0 100644
--- a/src/keycode.h
+++ b/src/keycode.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef KEYCODE_HEADER
-#define KEYCODE_HEADER
+#pragma once
#include "irrlichttypes.h"
#include "Keycodes.h"
@@ -65,5 +64,3 @@ KeyPress getKeySetting(const char *settingname);
void clearKeyCache();
irr::EKEY_CODE keyname_to_keycode(const char *name);
-
-#endif