diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:56:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 15:56:11 +1100 |
commit | 1d1d5da43f86d9dded47c66afec94991d623f114 (patch) | |
tree | 5f0d4d303a1f5dd67a3d9a19b0f99b8e3f06a4e6 /tmk_core/ring_buffer.h | |
parent | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff) |
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'tmk_core/ring_buffer.h')
-rw-r--r-- | tmk_core/ring_buffer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tmk_core/ring_buffer.h b/tmk_core/ring_buffer.h index 25fab638eb..8f887c8f74 100644 --- a/tmk_core/ring_buffer.h +++ b/tmk_core/ring_buffer.h @@ -1,5 +1,5 @@ -#ifndef RING_BUFFER_H -#define RING_BUFFER_H +#pragma once + /*-------------------------------------------------------------------- * Ring buffer to store scan codes from keyboard *------------------------------------------------------------------*/ @@ -43,5 +43,3 @@ static inline bool rbuf_has_data(void) { static inline void rbuf_clear(void) { ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { rbuf_head = rbuf_tail = 0; } } - -#endif /* RING_BUFFER_H */ |