summaryrefslogtreecommitdiffstats
path: root/src/hci/mucurses
diff options
context:
space:
mode:
authorMichael Brown2009-05-01 16:41:06 +0200
committerMichael Brown2009-05-18 09:33:25 +0200
commitc44a193d0d147ed6f98741124569864e516e9d4b (patch)
tree94a9b841e13eb643181e180f358c8612b1b29bfc /src/hci/mucurses
parent[legal] Add licence.pl and %.licence make target (diff)
downloadipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.gz
ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.xz
ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.zip
[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.
Diffstat (limited to 'src/hci/mucurses')
-rw-r--r--src/hci/mucurses/ansi_screen.c2
-rw-r--r--src/hci/mucurses/clear.c2
-rw-r--r--src/hci/mucurses/colour.c2
-rw-r--r--src/hci/mucurses/cursor.h2
-rw-r--r--src/hci/mucurses/mucurses.c2
-rw-r--r--src/hci/mucurses/mucurses.h2
-rw-r--r--src/hci/mucurses/print.c2
-rw-r--r--src/hci/mucurses/widgets/editbox.c2
-rw-r--r--src/hci/mucurses/winattrs.c2
-rw-r--r--src/hci/mucurses/wininit.c2
10 files changed, 20 insertions, 0 deletions
diff --git a/src/hci/mucurses/ansi_screen.c b/src/hci/mucurses/ansi_screen.c
index 468bac02..51fc7c90 100644
--- a/src/hci/mucurses/ansi_screen.c
+++ b/src/hci/mucurses/ansi_screen.c
@@ -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;
diff --git a/src/hci/mucurses/clear.c b/src/hci/mucurses/clear.c
index 1813939b..79b296cf 100644
--- a/src/hci/mucurses/clear.c
+++ b/src/hci/mucurses/clear.c
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Clear a window to the bottom from current cursor position
*
diff --git a/src/hci/mucurses/colour.c b/src/hci/mucurses/colour.c
index 2310641e..c1359c86 100644
--- a/src/hci/mucurses/colour.c
+++ b/src/hci/mucurses/colour.c
@@ -1,5 +1,7 @@
#include <curses.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct colour_pair {
short fcol;
short bcol;
diff --git a/src/hci/mucurses/cursor.h b/src/hci/mucurses/cursor.h
index af86519c..16b7d27c 100644
--- a/src/hci/mucurses/cursor.h
+++ b/src/hci/mucurses/cursor.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct cursor_pos {
unsigned int y, x;
};
diff --git a/src/hci/mucurses/mucurses.c b/src/hci/mucurses/mucurses.c
index 3620d08b..087ebcc3 100644
--- a/src/hci/mucurses/mucurses.c
+++ b/src/hci/mucurses/mucurses.c
@@ -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;
diff --git a/src/hci/mucurses/mucurses.h b/src/hci/mucurses/mucurses.h
index 1476733f..7ac1086a 100644
--- a/src/hci/mucurses/mucurses.h
+++ b/src/hci/mucurses/mucurses.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#define WRAP 0
#define NOWRAP 1
diff --git a/src/hci/mucurses/print.c b/src/hci/mucurses/print.c
index 9fca3088..1608c0a7 100644
--- a/src/hci/mucurses/print.c
+++ b/src/hci/mucurses/print.c
@@ -10,6 +10,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Add a single-byte character and rendition to a window and advance
* the cursor
diff --git a/src/hci/mucurses/widgets/editbox.c b/src/hci/mucurses/widgets/editbox.c
index a52089ce..ee7d609d 100644
--- a/src/hci/mucurses/widgets/editbox.c
+++ b/src/hci/mucurses/widgets/editbox.c
@@ -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>
diff --git a/src/hci/mucurses/winattrs.c b/src/hci/mucurses/winattrs.c
index 15f97326..f549d751 100644
--- a/src/hci/mucurses/winattrs.c
+++ b/src/hci/mucurses/winattrs.c
@@ -6,6 +6,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Get the background rendition attributes for a window
*
diff --git a/src/hci/mucurses/wininit.c b/src/hci/mucurses/wininit.c
index cd27f9fe..782e7b5c 100644
--- a/src/hci/mucurses/wininit.c
+++ b/src/hci/mucurses/wininit.c
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Initialise console environment
*