summaryrefslogtreecommitdiffstats
path: root/src/pseudotalloc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-11-13 01:00:26 +0900
committerHarald Welte <laforge@gnumonks.org>2017-11-13 01:35:12 +0900
commite08da9757099af3d275c122c9379d46a037eb309 (patch)
tree9108b960c4b996d6644449486a1e005b5f45857c /src/pseudotalloc
parent0f7bcb5f17f18682f7f9dc41e2d0fc73c4c08318 (diff)
Fix/Update copyright notices; Add SPDX annotation
Let's fix some erroneous/accidential references to wrong license, update copyright information where applicable and introduce a SPDX-License-Identifier to all files. Change-Id: I39af26c6aaaf5c926966391f6565fc5936be21af
Diffstat (limited to 'src/pseudotalloc')
-rw-r--r--src/pseudotalloc/pseudotalloc.c21
-rw-r--r--src/pseudotalloc/talloc.h20
2 files changed, 39 insertions, 2 deletions
diff --git a/src/pseudotalloc/pseudotalloc.c b/src/pseudotalloc/pseudotalloc.c
index b77ffe9e..2a990663 100644
--- a/src/pseudotalloc/pseudotalloc.c
+++ b/src/pseudotalloc/pseudotalloc.c
@@ -1,7 +1,26 @@
/*! \file pseudotalloc.c
* overly simplistic talloc replacement for deeply embedded
* microcontrollers. Obviously this has none of the properties of real
- * talloc, it is particualrly not hierarchical at all. */
+ * talloc, it is particualrly not hierarchical at all.
+ *
+ * (C) 2017 by Harald Welte <laforge@gnumonks.org>
+ * All Rights Reserved
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#include "talloc.h"
#include <string.h>
diff --git a/src/pseudotalloc/talloc.h b/src/pseudotalloc/talloc.h
index 3ce9f37a..ae2e1fc8 100644
--- a/src/pseudotalloc/talloc.h
+++ b/src/pseudotalloc/talloc.h
@@ -1,7 +1,25 @@
/*! \file talloc.h
* overly simplistic talloc replacement for deeply embedded
* microcontrollers. Obviously this has none of the properties of real
- * talloc, it is particualrly not hierarchical at all. */
+ * talloc, it is particualrly not hierarchical at all.
+ *
+ * (C) 2017 by Harald Welte <laforge@gnumonks.org>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#pragma once