Browse Source

[legal] Add MIT licence declaration

Signed-off-by: Michael Brown <mcb30@etherboot.org>
tags/v0.9.8
Joshua Oreman 14 years ago
parent
commit
3f274a6950
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      src/include/compiler.h

+ 10
- 0
src/include/compiler.h View File

@@ -501,6 +501,16 @@ int __debug_disable;
501 501
 #define FILE_LICENCE_BSD2 \
502 502
 	PROVIDE_SYMBOL ( __licence_bsd2 )
503 503
 
504
+/** Declare a file as being under the one-clause MIT-style licence
505
+ *
506
+ * This licence declaration is applicable when a file states itself to
507
+ * be licensed under terms allowing redistribution for any purpose
508
+ * with or without fee, provided that the copyright notice and
509
+ * permission notice appear in all copies.
510
+ */
511
+#define FILE_LICENCE_MIT \
512
+	PROVIDE_SYMBOL ( __licence_mit )
513
+
504 514
 /** Declare a particular licence as applying to a file */
505 515
 #define FILE_LICENCE( _licence ) FILE_LICENCE_ ## _licence
506 516
 

Loading…
Cancel
Save