Skip to content

Commit

Permalink
[legal] Add MIT licence declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@etherboot.org>
  • Loading branch information
rwcr authored and Michael Brown committed Aug 8, 2009
1 parent fc9750a commit 3f274a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/include/compiler.h
Expand Up @@ -501,6 +501,16 @@ int __debug_disable;
#define FILE_LICENCE_BSD2 \
PROVIDE_SYMBOL ( __licence_bsd2 )

/** Declare a file as being under the one-clause MIT-style licence
*
* This licence declaration is applicable when a file states itself to
* be licensed under terms allowing redistribution for any purpose
* with or without fee, provided that the copyright notice and
* permission notice appear in all copies.
*/
#define FILE_LICENCE_MIT \
PROVIDE_SYMBOL ( __licence_mit )

/** Declare a particular licence as applying to a file */
#define FILE_LICENCE( _licence ) FILE_LICENCE_ ## _licence

Expand Down

0 comments on commit 3f274a6

Please sign in to comment.