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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-01-28 09:55:35 +01:00
parent cb1f01a5f8
commit 9ee03516df
57 changed files with 70 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
BEGIN{
print "static const char* const af_names[] = { "
}
+2
View File
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
BEGIN{
print "const char *arphrd_to_name(int id) {"
print " switch(id) {"
+2
View File
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
BEGIN{
print "static const char* const capability_names[] = { "
}
+2
View File
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
BEGIN{
print "static const char* const errno_names[] = { "
}
+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -E -dM -include sys/socket.h -include "$2" -include "$3" - </dev/null | \
+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include linux/if_arp.h -include "$2" - </dev/null | \
+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include linux/capability.h -include "$2" -include "$3" - </dev/null | \
+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
$1 -dM -include errno.h - </dev/null | \
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
for i in *.h */*.h; do