Add SPDX license identifiers
Add license information to files. Mostly automated with: find src/ -name '*.[c,h]' | xargs sed -i '1s,^,// SPDX-License-Identifier: GPL-3.0-only\n\n,' find src/ -name '*.mk' | xargs sed -i '1s,^,# SPDX-License-Identifier: GPL-3.0-only\n\n,'
This commit is contained in:
committed by
Jeremy Soller
parent
def5821b01
commit
5fd9df0ed0
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include <common/i2c.h>
|
||||
|
||||
int i2c_recv(struct I2C * i2c, uint8_t addr, uint8_t* data, int length) {
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#ifndef _COMMON_COMMAND_H
|
||||
#define _COMMON_COMMAND_H
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#ifndef _COMMON_DEBUG_H
|
||||
#define _COMMON_DEBUG_H
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#ifndef _COMMON_I2C_H
|
||||
#define _COMMON_I2C_H
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#ifndef _COMMON_KEYMAP_H
|
||||
#define _COMMON_KEYMAP_H
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#ifndef _COMMON_MACRO_H
|
||||
#define _COMMON_MACRO_H
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#ifndef _COMMON_VERSION_H
|
||||
#define _COMMON_VERSION_H
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include <common/keymap.h>
|
||||
|
||||
// Prevent failures to compile on AVR
|
||||
|
@@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include <common/macro.h>
|
||||
|
||||
// Prevent failures to compile on AVR
|
||||
|
Reference in New Issue
Block a user