From 89152f733241451b3351103233566a8f1bd766a4 Mon Sep 17 00:00:00 2001 From: Bradley Eaton <bradley@bradleyeaton.com> Date: Sun, 9 May 2021 01:11:58 +0100 Subject: [PATCH] Licenses --- LICENSE | 2 +- Readme.md | 8 +++++++- compile_commands.json | 4 ++-- mines.c | 33 +++++++++++++++++++++++++++++++++ mines.h | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 622ead5..b55203d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2021, be1g19 +Copyright (c) 2021, Bradley Eaton All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Readme.md b/Readme.md index 533507d..09aa89a 100644 --- a/Readme.md +++ b/Readme.md @@ -1,3 +1,9 @@ # Fortuna mines WIP. -Minesweeper for the LaFortuna. +Minesweeper for the LaFortuna. + +## License breakdown +- mines.c, mines.h - BSD 3-Clause +- lcd/\* - CC-BY +- rios - BSD 3-Clause +- ruota - (C) Peter Dannegger diff --git a/compile_commands.json b/compile_commands.json index 02f8d4e..e1ce171 100644 --- a/compile_commands.json +++ b/compile_commands.json @@ -16,9 +16,9 @@ "-Winline", "-o", "_build/main.o", - "main.c" + "mines.c" ], "directory": "/home/bradley/src/c/fortuna-mines", - "file": "t01sk.c" + "file": "mines.c" } ] diff --git a/mines.c b/mines.c index c62700d..115e15f 100644 --- a/mines.c +++ b/mines.c @@ -1,4 +1,37 @@ /* Loosly Based on COMP2215 Task 5---SKELETON */ +/* +BSD 3-Clause License + +Copyright (c) 2021, Bradley Eaton +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + #include "mines.h" diff --git a/mines.h b/mines.h index 75bdaff..5c34de2 100644 --- a/mines.h +++ b/mines.h @@ -1,3 +1,35 @@ +/* +BSD 3-Clause License + +Copyright (c) 2021, Bradley Eaton +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + #include <stdio.h> #include <stdlib.h> #include <avr/io.h> -- GitLab