summaryrefslogtreecommitdiff
path: root/tmk_core/common/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/timer.h')
-rw-r--r--tmk_core/common/timer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmk_core/common/timer.h b/tmk_core/common/timer.h
index 7ee7feac29..58f637dd93 100644
--- a/tmk_core/common/timer.h
+++ b/tmk_core/common/timer.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef TIMER_H
-#define TIMER_H 1
+#pragma once
#include <stdint.h>
#include <stdbool.h>
@@ -51,5 +50,3 @@ uint32_t timer_elapsed32(uint32_t last);
#ifdef __cplusplus
}
#endif
-
-#endif