summaryrefslogtreecommitdiff
path: root/avr/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/xmalloc.c')
-rw-r--r--avr/xmalloc.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/avr/xmalloc.c b/avr/xmalloc.c
index 9bf2684..d42d5c9 100644
--- a/avr/xmalloc.c
+++ b/avr/xmalloc.c
@@ -1,5 +1,10 @@
-#include <stdlib.h>
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#include <stdlib.h>
#include "debug.h"
#include "xmalloc.h"
@@ -11,7 +16,7 @@ void* xmalloc(size_t size)
if (p == NULL)
debug("*** Out of memory!\n");
-
+
return p;
}
@@ -22,6 +27,6 @@ void* xrealloc(void *p, size_t size)
if (p == NULL)
debug("*** Out of memory!\n");
-
+
return p;
}