Skip to content

Commit 9ee0351

Browse files
committed
tree-wide: add spdx header on all scripts and helpers
Even though many of those scripts are very simple, it is easier to include the header than to try to say whether each of those files is trivial enough not to require one.
1 parent cb1f01a commit 9ee0351

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+70
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
all:
24
ninja -C build
35

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: LGPL-2.1-or-later
23
set -e
34

45
cflags=CFLAGS="$CFLAGS"

src/basic/af-to-name.awk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
BEGIN{
24
print "static const char* const af_names[] = { "
35
}

src/basic/arphrd-to-name.awk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
BEGIN{
24
print "const char *arphrd_to_name(int id) {"
35
print " switch(id) {"

src/basic/cap-to-name.awk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
BEGIN{
24
print "static const char* const capability_names[] = { "
35
}

src/basic/errno-to-name.awk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
BEGIN{
24
print "static const char* const errno_names[] = { "
35
}

src/basic/generate-af-list.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
# SPDX-License-Identifier: LGPL-2.1-or-later
23
set -eu
34

45
$1 -E -dM -include sys/socket.h -include "$2" -include "$3" - </dev/null | \

src/basic/generate-arphrd-list.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
# SPDX-License-Identifier: LGPL-2.1-or-later
23
set -eu
34

45
$1 -dM -include linux/if_arp.h -include "$2" - </dev/null | \

src/basic/generate-cap-list.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
# SPDX-License-Identifier: LGPL-2.1-or-later
23
set -eu
34

45
$1 -dM -include linux/capability.h -include "$2" -include "$3" - </dev/null | \

src/basic/generate-errno-list.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
# SPDX-License-Identifier: LGPL-2.1-or-later
23
set -eu
34

45
$1 -dM -include errno.h - </dev/null | \

0 commit comments

Comments
 (0)