summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/xt.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/xt.h')
-rw-r--r--tmk_core/protocol/xt.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmk_core/protocol/xt.h b/tmk_core/protocol/xt.h
index e7e1a13f4d..6dc5f19d00 100644
--- a/tmk_core/protocol/xt.h
+++ b/tmk_core/protocol/xt.h
@@ -36,8 +36,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef XT_H
-#define XT_H
+#pragma once
#define XT_DATA_IN() \
do { \
@@ -69,5 +68,3 @@ POSSIBILITY OF SUCH DAMAGE.
void xt_host_init(void);
uint8_t xt_host_recv(void);
-
-#endif