Skip to content

Commit a423893

Browse files
committed
chore(src): normalize SPDX headers and include-block spacing
1 parent dc9e54c commit a423893

39 files changed

Lines changed: 60 additions & 128 deletions

src/cobs.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//! \file cobs.h
2-
//! \author Thomas.Hoehenleitner [at] seerose.net
1+
// SPDX-License-Identifier: MIT
32

43
#ifndef COBS_H_
54
#define COBS_H_

src/cobsDecode.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//! \file cobsDecode.c copied from https://github.com/rokath/cobs
2-
//! \author Thomas.Hoehenleitner [at] seerose.net
1+
// SPDX-License-Identifier: MIT
32

43
#include "cobs.h"
54

src/cobsEncode.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//! \file cobsEncode.c copied from https://github.com/rokath/cobs
2-
//! \author Thomas.Hoehenleitner [at] seerose.net
1+
// SPDX-License-Identifier: MIT
32

43
#include "cobs.h"
54

src/tcobs.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*! \file tcobs.h
2-
\author thomas.hoehenleitner [at] seerose.net
3-
\details See ./TCOBSv1Specification.md.
4-
*******************************************************************************/
1+
// SPDX-License-Identifier: MIT
52

63
#ifndef TCOBS_H_
74
#define TCOBS_H_

src/tcobsv1Decode.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*! \file tcobsv1Decode.c
2-
\author Thomas.Hoehenleitner [at] seerose.net
3-
\details See ./TCOBSv1Specification.md.
4-
*******************************************************************************/
1+
// SPDX-License-Identifier: MIT
52

63
#include <stdint.h>
74
#include <stddef.h>

src/tcobsv1Encode.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*! \file tcobsv1Encode.c
2-
\author Thomas.Hoehenleitner [at] seerose.net
3-
\details See ./TCOBSv1Specification.md.
4-
*******************************************************************************/
1+
// SPDX-License-Identifier: MIT
52

63
#include <stdint.h>
74
#include <stddef.h>

src/tcobsv1Internal.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*! \file tcobsInternal.h
2-
\author Thomas.Hoehenleitner [at] seerose.net
3-
\details See ./TCOBSv1Specification.md. Only internal usage.
4-
*******************************************************************************/
1+
// SPDX-License-Identifier: MIT
52

63
#ifndef TCOBS_INTERNAL_H_
74
#define TCOBS_INTERNAL_H_

src/trice.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//! \file trice.c
2-
//! \author Thomas.Hoehenleitner [at] seerose.net
3-
//! ///////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: MIT
42

53
#include "trice.h"
64
#include "cobs.h"

src/trice.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/*! \file trice.h
2-
\author thomas.hoehenleitner [at] seerose.net
3-
*******************************************************************************/
1+
// SPDX-License-Identifier: MIT
42

53
#ifndef TRICE_H_
64
#define TRICE_H_

src/trice16.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
//! \file trice16.c
2-
//! \author Thomas.Hoehenleitner [at] seerose.net
3-
//! ///////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: MIT
2+
43
#include "trice.h"
54

65
// lint -e529 Warning 529: Symbol '_SEGGER_RTT__LockState' not subsequently referenced

0 commit comments

Comments
 (0)