[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
*

View File

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

View File

@@ -2,6 +2,8 @@
#include <curses.h>
#include <console.h>
FILE_LICENCE ( GPL2_OR_LATER );
static void ansiscr_reset(struct _curses_screen *scr) __nonnull;
static void ansiscr_movetoyx(struct _curses_screen *scr,
unsigned int y, unsigned int x) __nonnull;

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* Clear a window to the bottom from current cursor position
*

View File

@@ -1,5 +1,7 @@
#include <curses.h>
FILE_LICENCE ( GPL2_OR_LATER );
struct colour_pair {
short fcol;
short bcol;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct cursor_pos {
unsigned int y, x;
};

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
static void _wupdcurs ( WINDOW *win ) __nonnull;
void _wputch ( WINDOW *win, chtype ch, int wrap ) __nonnull;
void _wputc ( WINDOW *win, char c, int wrap ) __nonnull;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#define WRAP 0
#define NOWRAP 1

View File

@@ -10,6 +10,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* Add a single-byte character and rendition to a window and advance
* the cursor

View File

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

View File

@@ -6,6 +6,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* Get the background rendition attributes for a window
*

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* Initialise console environment
*

View File

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

View File

@@ -18,6 +18,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* Find error description
*

View File

@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** @file
*
* Login UI

View File

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