Change include guards in tmk_core/ and drivers/ to pragma once (#11240)

This commit is contained in:
Ryan 2020-12-26 15:56:11 +11:00 committed by GitHub
parent 48f4768d33
commit 1d1d5da43f
Failed to generate hash of commit
60 changed files with 96 additions and 258 deletions

View file

@ -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

View file

@ -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