chiark / gitweb /
add copyright and licence notices to example .[ch] files
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 17:53:55 +0000 (17:53 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 17:53:55 +0000 (17:53 +0000)
Checked with mdw on irc that this was his intent.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
lib/t/toytest.c
lib/toylib.c
lib/toylib.h
src/toy.c

index 09714273fe7021af4ef3a564c8dd32062e4ffbe5..aa03e1ec6baaee6d8774e3f5e16bdbb060b6c8d6 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * subdirmk - example code
+ *  Copyright 2019 Mark Wooding
+ * SPDX-License-Identifier: LGPL-2.0-or-later
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 084266d2e36d840b0f5e44a3be0e34f6a9afe152..6e73f766b56e1cbe2dd751e6d4f8dfa4b34d7fc0 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * subdirmk - example code
+ *  Copyright 2019 Mark Wooding
+ * SPDX-License-Identifier: LGPL-2.0-or-later
+ */
+
 #include "toylib.h"
 
 const char *greeting(void)
index 122e3fc4b793f771a35b4e0dd9805d0591525f28..04848d5ecf297f719dce1327aaaf962cdfec82df 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * subdirmk - example code
+ *  Copyright 2019 Mark Wooding
+ * SPDX-License-Identifier: LGPL-2.0-or-later
+ */
+
 #ifndef LIBTOY_H
 #define LIBTOY_H
 
index 41ec14f023e2b5b9e432f452dbdf74f33d10189d..a70f8616dd3d1ba921e1b42d2aa8c76862919b70 100644 (file)
--- a/src/toy.c
+++ b/src/toy.c
@@ -1,3 +1,9 @@
+/*
+ * subdirmk - example code
+ *  Copyright 2019 Mark Wooding
+ * SPDX-License-Identifier: LGPL-2.0-or-later
+ */
+
 #include <stdio.h>
 #include "toylib.h"