summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2015-04-14 18:13:37 +0200
committerRichard Braun <rbraun@sceen.net>2015-04-14 18:13:37 +0200
commitf27f7643491fe8303aa939bb539bb9a490f7b3ad (patch)
treeaacbabab2832fd82dfe85584e7c4acba481bca33
parent64b01cfc298d651f9f2fbad91f818699dec1599c (diff)
Update copyright notices
Mention upstream URL in each file, update copyrights.
-rw-r--r--avltree.c6
-rw-r--r--avltree.h5
-rw-r--r--avltree_i.h6
-rw-r--r--bitmap.c4
-rw-r--r--bitmap.h3
-rw-r--r--bitmap_i.h4
-rw-r--r--cpu.h6
-rw-r--r--error.c6
-rw-r--r--error.h6
-rw-r--r--hash.h5
-rw-r--r--list.c5
-rw-r--r--list.h5
-rw-r--r--macros.h3
-rw-r--r--rbtree.c4
-rw-r--r--rbtree.h5
-rw-r--r--rbtree_i.h6
-rw-r--r--rdxtree.c4
-rw-r--r--rdxtree.h3
-rw-r--r--rdxtree_i.h4
-rw-r--r--x86/atomic.h5
-rw-r--r--x86/mb.h5
21 files changed, 87 insertions, 13 deletions
diff --git a/avltree.c b/avltree.c
index 46d1f01..91cd1a5 100644
--- a/avltree.c
+++ b/avltree.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2012 Richard Braun.
+ * Copyright (c) 2010-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#include <assert.h>
diff --git a/avltree.h b/avltree.h
index ccb77e5..736973c 100644
--- a/avltree.h
+++ b/avltree.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012 Richard Braun.
+ * Copyright (c) 2010-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -29,6 +29,9 @@
* the more common case where there can be as many insertions/removals as
* lookups, or the amount of changes can't be determined, red-black trees
* provide better average performance.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _AVLTREE_H
diff --git a/avltree_i.h b/avltree_i.h
index 4c38060..131487f 100644
--- a/avltree_i.h
+++ b/avltree_i.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012 Richard Braun.
+ * Copyright (c) 2010-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _AVLTREE_I_H
diff --git a/bitmap.c b/bitmap.c
index 7ac1662..7829f67 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#include <limits.h>
diff --git a/bitmap.h b/bitmap.h
index 9e6efad..50a0a67 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -26,6 +26,9 @@
*
* Most functions do not check whether the given parameters are valid. This
* is the responsibility of the caller.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _BITMAP_H
diff --git a/bitmap_i.h b/bitmap_i.h
index 45208f3..3dad601 100644
--- a/bitmap_i.h
+++ b/bitmap_i.h
@@ -20,6 +20,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _BITMAP_I_H
diff --git a/cpu.h b/cpu.h
index de66d86..6694bcf 100644
--- a/cpu.h
+++ b/cpu.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Richard Braun.
+ * Copyright (c) 2011-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _CPU_H
diff --git a/error.c b/error.c
index a1871bb..0f89480 100644
--- a/error.c
+++ b/error.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2010 Richard Braun.
+ * Copyright (c) 2009-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#include <errno.h>
diff --git a/error.h b/error.h
index 02dfdbd..653340a 100644
--- a/error.h
+++ b/error.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2010 Richard Braun.
+ * Copyright (c) 2009-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _ERROR_H
diff --git a/hash.h b/hash.h
index 4bde087..64b6a48 100644
--- a/hash.h
+++ b/hash.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Richard Braun.
+ * Copyright (c) 2010-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +42,9 @@
* It can be used by the implementation to select high or low bits, depending
* on their relative randomness. To get complete, unmasked hashes, use the
* HASH_ALLBITS macro.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _HASH_H
diff --git a/list.c b/list.c
index 8163b4d..fb5ff90 100644
--- a/list.c
+++ b/list.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2010 Richard Braun.
+ * Copyright (c) 2009-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,6 +33,9 @@
* - It only requires constant additional space (as it works on linked lists).
* - It performs at O(n log n) for average and worst cases.
* - It is adaptive, performing faster on already sorted lists.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#include "list.h"
diff --git a/list.h b/list.h
index d05902a..3f9d8f7 100644
--- a/list.h
+++ b/list.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2010, 2014 Richard Braun.
+ * Copyright (c) 2009-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -24,6 +24,9 @@
*
*
* Simple doubly-linked list.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _LIST_H
diff --git a/macros.h b/macros.h
index f6e88dd..0094164 100644
--- a/macros.h
+++ b/macros.h
@@ -24,6 +24,9 @@
*
*
* Helper macros.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _MACROS_H
diff --git a/rbtree.c b/rbtree.c
index 4dddde8..e5b8962 100644
--- a/rbtree.c
+++ b/rbtree.c
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#include <assert.h>
diff --git a/rbtree.h b/rbtree.h
index cbb519e..7094569 100644
--- a/rbtree.h
+++ b/rbtree.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012 Richard Braun.
+ * Copyright (c) 2010-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -24,6 +24,9 @@
*
*
* Red-black tree.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _RBTREE_H
diff --git a/rbtree_i.h b/rbtree_i.h
index eb1619f..1445b0e 100644
--- a/rbtree_i.h
+++ b/rbtree_i.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012 Richard Braun.
+ * Copyright (c) 2010-2015 Richard Braun.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _RBTREE_I_H
diff --git a/rdxtree.c b/rdxtree.c
index 8c903fa..c850968 100644
--- a/rdxtree.c
+++ b/rdxtree.c
@@ -21,6 +21,10 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#include <assert.h>
diff --git a/rdxtree.h b/rdxtree.h
index 4a5c8a5..a5c302b 100644
--- a/rdxtree.h
+++ b/rdxtree.h
@@ -27,6 +27,9 @@
*
* In addition to the standard insertion operation, this implementation
* can allocate keys for the caller at insertion time.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _RDXTREE_H
diff --git a/rdxtree_i.h b/rdxtree_i.h
index 9c9f962..08b41e5 100644
--- a/rdxtree_i.h
+++ b/rdxtree_i.h
@@ -13,6 +13,10 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _RDXTREE_I_H
diff --git a/x86/atomic.h b/x86/atomic.h
index 27c29de..52a4e5e 100644
--- a/x86/atomic.h
+++ b/x86/atomic.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2014 Richard Braun.
+ * Copyright (c) 2012-2015 Richard Braun.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -23,6 +23,9 @@
*
*
* Atomic operations.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _X86_ATOMIC_H
diff --git a/x86/mb.h b/x86/mb.h
index 2c3cbb8..3bb30f8 100644
--- a/x86/mb.h
+++ b/x86/mb.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2013 Richard Braun.
+ * Copyright (c) 2012-2015 Richard Braun.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -35,6 +35,9 @@
* can be reordered after loads. As a result, load and store memory barriers
* are simple compiler barriers whereas full memory barriers must generate
* a barrier instruction.
+ *
+ * Upstream site with license notes :
+ * http://git.sceen.net/rbraun/librbraun.git/
*/
#ifndef _X86_MB_H