summaryrefslogtreecommitdiff
path: root/memdebug
diff options
context:
space:
mode:
authorklto <klto@bb4c1ae6-6eb5-4d93-a66e-2307d6765a9c>2010-10-28 11:47:20 +0000
committerklto <klto@bb4c1ae6-6eb5-4d93-a66e-2307d6765a9c>2010-10-28 11:47:20 +0000
commit801b5189eb7f49b94d33b24b8988529bbd35040a (patch)
tree4ccd9d4c62c26190cef4acbee727b3bc422d62aa /memdebug
parent2f7a7f07846aa498b4b79a83bbe425d7aba73f03 (diff)
Add license information to every file and mention it in the README
git-svn-id: https://parma.zhaw.ch/svn/csnippets@3 bb4c1ae6-6eb5-4d93-a66e-2307d6765a9c
Diffstat (limited to 'memdebug')
-rw-r--r--memdebug/memdebug.c21
-rw-r--r--memdebug/memdebug.h28
2 files changed, 48 insertions, 1 deletions
diff --git a/memdebug/memdebug.c b/memdebug/memdebug.c
index 84a2c86..887ca42 100644
--- a/memdebug/memdebug.c
+++ b/memdebug/memdebug.c
@@ -4,7 +4,26 @@
* This can essentially be useful on embedded systems platforms where tools such
* as valgrind are not available.
*
- * Copyright (c) 2010, Tobias Klauser <tklauser@distanz.ch>
+ * Copyright (c) 2010 Zurich University of Applied Sciences
+ * Copyright (c) 2010 Tobias Klauser <tklauser@distanz.ch>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
*/
#include <stdio.h>
diff --git a/memdebug/memdebug.h b/memdebug/memdebug.h
index 7a816c0..3f2d5a5 100644
--- a/memdebug/memdebug.h
+++ b/memdebug/memdebug.h
@@ -1,3 +1,31 @@
+/*
+ * memdebug - A simple malloc/free debugger
+ *
+ * This can essentially be useful on embedded systems platforms where tools such
+ * as valgrind are not available.
+ *
+ * Copyright (c) 2010 Zurich University of Applied Sciences
+ * Copyright (c) 2010 Tobias Klauser <tklauser@distanz.ch>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
#ifndef _MEMDEBUG_H_
#define _MEMDEBUG_H_