From c44a193d0d147ed6f98741124569864e516e9d4b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 1 May 2009 15:41:06 +0100 Subject: [legal] Add a selection of FILE_LICENCE declarations Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE. --- src/core/acpi.c | 2 ++ src/core/ansiesc.c | 2 ++ src/core/asprintf.c | 2 ++ src/core/base64.c | 2 ++ src/core/basename.c | 2 ++ src/core/bitmap.c | 2 ++ src/core/bitops.c | 2 ++ src/core/config.c | 2 ++ src/core/console.c | 2 ++ src/core/cpio.c | 2 ++ src/core/cwuri.c | 2 ++ src/core/device.c | 2 ++ src/core/downloader.c | 2 ++ src/core/exec.c | 2 ++ src/core/filter.c | 2 ++ src/core/getkey.c | 2 ++ src/core/getopt.c | 2 ++ src/core/image.c | 2 ++ src/core/init.c | 2 ++ src/core/interface.c | 2 ++ src/core/iobuf.c | 2 ++ src/core/job.c | 2 ++ src/core/linebuf.c | 2 ++ src/core/main.c | 2 ++ src/core/malloc.c | 2 ++ src/core/misc.c | 2 ++ src/core/monojob.c | 2 ++ src/core/nvo.c | 2 ++ src/core/open.c | 2 ++ src/core/posix_io.c | 2 ++ src/core/process.c | 2 ++ src/core/random.c | 2 ++ src/core/refcnt.c | 2 ++ src/core/resolv.c | 2 ++ src/core/serial.c | 2 ++ src/core/settings.c | 2 ++ src/core/string.c | 2 ++ src/core/timer.c | 2 ++ src/core/uri.c | 2 ++ src/core/uuid.c | 2 ++ src/core/vsprintf.c | 2 ++ src/core/xfer.c | 2 ++ 42 files changed, 84 insertions(+) (limited to 'src/core') diff --git a/src/core/acpi.c b/src/core/acpi.c index 94b7b2a18..b65f4d483 100644 --- a/src/core/acpi.c +++ b/src/core/acpi.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include /** @file diff --git a/src/core/ansiesc.c b/src/core/ansiesc.c index 6b820ada5..31306e2a8 100644 --- a/src/core/ansiesc.c +++ b/src/core/ansiesc.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/asprintf.c b/src/core/asprintf.c index 94d7e7c43..03cf45cfc 100644 --- a/src/core/asprintf.c +++ b/src/core/asprintf.c @@ -4,6 +4,8 @@ #include #include +FILE_LICENCE ( GPL2_OR_LATER ); + /** * Write a formatted string to newly allocated memory. * diff --git a/src/core/base64.c b/src/core/base64.c index e54821e3e..5619ef7b1 100644 --- a/src/core/base64.c +++ b/src/core/base64.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/basename.c b/src/core/basename.c index 7340c0d55..a481c54f4 100644 --- a/src/core/basename.c +++ b/src/core/basename.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/core/bitmap.c b/src/core/bitmap.c index d02664719..bbe9cbaa1 100644 --- a/src/core/bitmap.c +++ b/src/core/bitmap.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/bitops.c b/src/core/bitops.c index 53abaaeac..1bca9e47b 100644 --- a/src/core/bitops.c +++ b/src/core/bitops.c @@ -1,5 +1,7 @@ #include +FILE_LICENCE ( GPL2_OR_LATER ); + int __flsl ( long x ) { unsigned long value = x; int ls = 0; diff --git a/src/core/config.c b/src/core/config.c index 0662a3a49..ecaf781fc 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -5,6 +5,8 @@ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/console.c b/src/core/console.c index 1ea3dc13e..e22d26019 100644 --- a/src/core/console.c +++ b/src/core/console.c @@ -5,6 +5,8 @@ /** @file */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * Write a single character to each console device. * diff --git a/src/core/cpio.c b/src/core/cpio.c index 7d2e88286..b303fa35f 100644 --- a/src/core/cpio.c +++ b/src/core/cpio.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * CPIO archives diff --git a/src/core/cwuri.c b/src/core/cwuri.c index 81fd900e7..65e01b21e 100644 --- a/src/core/cwuri.c +++ b/src/core/cwuri.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/device.c b/src/core/device.c index 1f57e4c6f..96ccc9ff3 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/downloader.c b/src/core/downloader.c index 83027d388..5bde0a6be 100644 --- a/src/core/downloader.c +++ b/src/core/downloader.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/exec.c b/src/core/exec.c index 181ca4c56..25c578d5c 100644 --- a/src/core/exec.c +++ b/src/core/exec.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/filter.c b/src/core/filter.c index f9ebe7cf1..a8bee7dc2 100644 --- a/src/core/filter.c +++ b/src/core/filter.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/getkey.c b/src/core/getkey.c index 787c90276..dbd074ccf 100644 --- a/src/core/getkey.c +++ b/src/core/getkey.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/getopt.c b/src/core/getopt.c index 6de412bb8..b67da0c13 100644 --- a/src/core/getopt.c +++ b/src/core/getopt.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/image.c b/src/core/image.c index 0d188c308..24fe51ab9 100644 --- a/src/core/image.c +++ b/src/core/image.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/init.c b/src/core/init.c index e1c9dce0c..cd0f6dcc8 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/interface.c b/src/core/interface.c index 37aabfe0d..43d58ed20 100644 --- a/src/core/interface.c +++ b/src/core/interface.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include /** @file diff --git a/src/core/iobuf.c b/src/core/iobuf.c index cc4aedeae..1ce7890e4 100644 --- a/src/core/iobuf.c +++ b/src/core/iobuf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/job.c b/src/core/job.c index 6c2faf30f..2a6a8a032 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/linebuf.c b/src/core/linebuf.c index d02f37c34..221f4e1a6 100644 --- a/src/core/linebuf.c +++ b/src/core/linebuf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/core/main.c b/src/core/main.c index 809d4dcf8..74452b788 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -14,6 +14,8 @@ Literature dealing with the network protocols: **************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/malloc.c b/src/core/malloc.c index db7f1bedf..8b0bc24d2 100644 --- a/src/core/malloc.c +++ b/src/core/malloc.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/misc.c b/src/core/misc.c index 1f51272dc..5a82c85cc 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -2,6 +2,8 @@ MISC Support Routines **************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/monojob.c b/src/core/monojob.c index 657bfd7ad..a24b559e1 100644 --- a/src/core/monojob.c +++ b/src/core/monojob.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/nvo.c b/src/core/nvo.c index e5c07d986..3dbf51d3f 100644 --- a/src/core/nvo.c +++ b/src/core/nvo.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/open.c b/src/core/open.c index beb67a037..d5eb30cfa 100644 --- a/src/core/open.c +++ b/src/core/open.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/posix_io.c b/src/core/posix_io.c index 6f6d815ac..e6b1a0f69 100644 --- a/src/core/posix_io.c +++ b/src/core/posix_io.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/process.c b/src/core/process.c index dcae9017f..6dacd6652 100644 --- a/src/core/process.c +++ b/src/core/process.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/random.c b/src/core/random.c index d34e763a6..6e7374e34 100644 --- a/src/core/random.c +++ b/src/core/random.c @@ -4,6 +4,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/refcnt.c b/src/core/refcnt.c index 30bb6deac..f2286cacd 100644 --- a/src/core/refcnt.c +++ b/src/core/refcnt.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include diff --git a/src/core/resolv.c b/src/core/resolv.c index 5a5d4afec..6f01f93e9 100644 --- a/src/core/resolv.c +++ b/src/core/resolv.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/serial.c b/src/core/serial.c index 5b3be39c3..d35e89e95 100644 --- a/src/core/serial.c +++ b/src/core/serial.c @@ -11,6 +11,8 @@ * parity, 1 stop bit (8N1). This can be changed in init_serial(). */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "stddef.h" #include #include diff --git a/src/core/settings.c b/src/core/settings.c index b00c0d079..3a58e39b1 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/string.c b/src/core/string.c index 2e17bdcb0..190007a47 100644 --- a/src/core/string.c +++ b/src/core/string.c @@ -10,6 +10,8 @@ * published by the Free Software Foundation. */ +FILE_LICENCE ( GPL2_ONLY ); + /* * stupid library routines.. The optimized versions should generally be found * as inline code in diff --git a/src/core/timer.c b/src/core/timer.c index d71e3da1f..096d07ec0 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include /** diff --git a/src/core/uri.c b/src/core/uri.c index 7bb46da0c..d31aabaf4 100644 --- a/src/core/uri.c +++ b/src/core/uri.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * Uniform Resource Identifiers diff --git a/src/core/uuid.c b/src/core/uuid.c index a3a82c688..2b67d55d5 100644 --- a/src/core/uuid.c +++ b/src/core/uuid.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/vsprintf.c b/src/core/vsprintf.c index 4457fe4f4..21ab24292 100644 --- a/src/core/vsprintf.c +++ b/src/core/vsprintf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include diff --git a/src/core/xfer.c b/src/core/xfer.c index 9ed19da21..a9bcb4d7b 100644 --- a/src/core/xfer.c +++ b/src/core/xfer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include #include #include -- cgit v1.2.3-55-g7522