]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/xmalloc.c
Add copyright notice
[z180-stamp.git] / avr / xmalloc.c
index 9bf268446adedbf10dd816be9f1bc00772b3bb49..d42d5c9237eb604780f02b3bd54e0ca15049ff7b 100644 (file)
@@ -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;
 }