forked from mirrors/qmk_userspace
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
This commit is contained in:
parent
48f4768d33
commit
1d1d5da43f
60 changed files with 96 additions and 258 deletions
|
@ -17,8 +17,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifndef BYTEQUEUE_H
|
||||
#define BYTEQUEUE_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -54,5 +53,3 @@ void bytequeue_remove(byteQueue_t* queue, byteQueueIndex_t numToRemove);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with avr-bytequeue. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifndef INTERRUPT_SETTING_H
|
||||
#define INTERRUPT_SETTING_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -34,5 +33,3 @@ void restore_interrupt_setting(interrupt_setting_t setting);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue