aboutsummaryrefslogtreecommitdiff
path: root/quantum/api.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:53:12 +1100
committerGitHub <noreply@github.com>2020-12-26 15:53:12 +1100
commit48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch)
tree49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/api.h
parent53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff)
downloadqmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.tar.gz
qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.zip
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/api.h')
-rw-r--r--quantum/api.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/api.h b/quantum/api.h
index 90a4de833..0a30e9d6c 100644
--- a/quantum/api.h
+++ b/quantum/api.h
@@ -14,8 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#ifndef _API_H_ 17#pragma once
18#define _API_H_
19 18
20#ifdef __AVR__ 19#ifdef __AVR__
21# include "lufa.h" 20# include "lufa.h"
@@ -54,5 +53,3 @@ __attribute__((weak)) bool process_api_quantum(uint8_t length, uint8_t* data);
54__attribute__((weak)) bool process_api_keyboard(uint8_t length, uint8_t* data); 53__attribute__((weak)) bool process_api_keyboard(uint8_t length, uint8_t* data);
55 54
56__attribute__((weak)) bool process_api_user(uint8_t length, uint8_t* data); 55__attribute__((weak)) bool process_api_user(uint8_t length, uint8_t* data);
57
58#endif