summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-11-08 11:01:27 +0100
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-11-08 11:01:27 +0100
commit71c9130ede00c6ddf1e72e479178f4c2360f6a9e (patch)
tree6db56b80c155e907b525ed7ea21bd179072f54ba
parent742bd20277fc7b645b25ef31154daa4be8dd63ac (diff)
downloadzsh-71c9130ede00c6ddf1e72e479178f4c2360f6a9e.tar.gz
zsh-71c9130ede00c6ddf1e72e479178f4c2360f6a9e.tar.xz
zsh-71c9130ede00c6ddf1e72e479178f4c2360f6a9e.zip
unposted: add usual copyright header to nearcolor module sources
-rw-r--r--ChangeLog2
-rw-r--r--Src/Modules/nearcolor.c29
2 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a2df6fda0..19cc2f5ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2018-11-08  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* unposted: Src/Modules/nearcolor.c: add usual copyright header
+
 	* 43784: Completion/Zsh/Command/_compadd: clarify descriptions on
 	options related to match sorting
 
diff --git a/Src/Modules/nearcolor.c b/Src/Modules/nearcolor.c
index 128658e20..b51b4fd2c 100644
--- a/Src/Modules/nearcolor.c
+++ b/Src/Modules/nearcolor.c
@@ -1,3 +1,32 @@
+/*
+ * nearcolor.c - map colours to nearest match in 88 or 256 colour palette
+ *
+ * This file is part of zsh, the Z shell.
+ *
+ * Copyright (c) 2018 Oliver Kiddle
+ * All rights reserved.
+ *
+ * Permission is hereby granted, without written agreement and without
+ * license or royalty fees, to use, copy, modify, and distribute this
+ * software and to distribute modified versions of this software for any
+ * purpose, provided that the above copyright notice and the following
+ * two paragraphs appear in all copies of this software.
+ *
+ * In no event shall Oliver Kiddle or the Zsh Development Group be liable
+ * to any party for direct, indirect, special, incidental, or consequential
+ * damages arising out of the use of this software and its documentation,
+ * even if Oliver Kiddle and the Zsh Development Group have been advised of
+ * the possibility of such damage.
+ *
+ * Oliver Kiddle and the Zsh Development Group specifically disclaim any
+ * warranties, including, but not limited to, the implied warranties of
+ * merchantability and fitness for a particular purpose.  The software
+ * provided hereunder is on an "as is" basis, and Oliver Kiddle and the
+ * Zsh Development Group have no obligation to provide maintenance,
+ * support, updates, enhancements, or modifications.
+ *
+ */
+
 #include "nearcolor.mdh"
 #include "nearcolor.pro"