[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.
This commit is contained in:
Michael Brown
2009-05-01 15:41:06 +01:00
parent 41307f2874
commit c44a193d0d
518 changed files with 1039 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
#include <gpxe/command.h>
#include <usr/autoboot.h>
FILE_LICENCE ( GPL2_OR_LATER );
static int autoboot_exec ( int argc, char **argv ) {
if ( argc != 1 ) {

View File

@@ -4,6 +4,8 @@
#include <gpxe/settings.h>
#include <gpxe/settings_ui.h>
FILE_LICENCE ( GPL2_OR_LATER );
static int config_exec ( int argc, char **argv ) {
char *settings_name;
struct settings *settings;

View File

@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

View File

@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdio.h>
#include <getopt.h>
#include <gpxe/netdevice.h>

View File

@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>

View File

@@ -3,6 +3,8 @@
#include <gpxe/command.h>
#include <gpxe/login_ui.h>
FILE_LICENCE ( GPL2_OR_LATER );
static int login_exec ( int argc, char **argv ) {
int rc;

View File

@@ -7,6 +7,8 @@
#include <gpxe/settings.h>
#include <gpxe/command.h>
FILE_LICENCE ( GPL2_OR_LATER );
static int show_exec ( int argc, char **argv ) {
char buf[256];
int rc;

View File

@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdio.h>
#include <getopt.h>
#include <gpxe/command.h>

View File

@@ -4,6 +4,8 @@
#include <gpxe/command.h>
#include <usr/autoboot.h>
FILE_LICENCE ( GPL2_OR_LATER );
/**
* "sanboot" command syntax message
*