From 4d5e55e135abbae2171c80964e9740229c369c5e Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Tue, 1 Nov 2022 03:46:14 +0900 Subject: [PATCH] Move the license body to the LICENSE file --- BrainLILO.cpp | 33 --------------------------------- BrainLILO.h | 2 -- BrainLILODrv.cpp | 32 -------------------------------- BrainLILODrv.h | 2 -- LICENSE | 26 ++++++++++++++++++++++++++ bootloader.cpp | 2 -- 6 files changed, 26 insertions(+), 71 deletions(-) create mode 100644 LICENSE diff --git a/BrainLILO.cpp b/BrainLILO.cpp index 8b2c699..d84f168 100644 --- a/BrainLILO.cpp +++ b/BrainLILO.cpp @@ -1,36 +1,3 @@ -/* - * BrainLILO - * U-Boot loader for electric dictionary. - * - * Copyright (C) 2019 C. Shirasaka - * based on - ** ResetKitHelper - ** Soft/hard reset the electronic dictionary. - ** - ** Copyright (C) 2012 T. Kawada - * - * This file is licensed in MIT license. - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ - #define BRAINLILO_API extern "C" __declspec(dllexport) #include "BrainLILO.h" #include "BrainLILODrv.h" diff --git a/BrainLILO.h b/BrainLILO.h index bc47120..f501b33 100644 --- a/BrainLILO.h +++ b/BrainLILO.h @@ -1,5 +1,3 @@ -// This file is in public domain. - #pragma once #include diff --git a/BrainLILODrv.cpp b/BrainLILODrv.cpp index 0b7ea1f..b5b0942 100644 --- a/BrainLILODrv.cpp +++ b/BrainLILODrv.cpp @@ -1,35 +1,3 @@ -/* - * BrainLILODrv - * U-Boot loader for electric dictionary. - * - * Copyright (C) 2019 C. Shirasaka - * based on - ** ResetKitHelper - ** Soft/hard reset the electronic dictionary. - ** - ** Copyright (C) 2012 T. Kawada - * - * This file is licensed in MIT license. - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ #include #include #include diff --git a/BrainLILODrv.h b/BrainLILODrv.h index 0d16934..19820c3 100644 --- a/BrainLILODrv.h +++ b/BrainLILODrv.h @@ -1,5 +1,3 @@ -// This file is in public domain. - #pragma once #include diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8aa9f3a --- /dev/null +++ b/LICENSE @@ -0,0 +1,26 @@ +*** BrainLILO *** + +MIT License + +Copyright (C) 2019 C. Shirasaka +Copyright (C) 2012 T. Kawada + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +BrainLILO.h, BrainLILODrv.h, and bootloader.cpp are in the public domain. diff --git a/bootloader.cpp b/bootloader.cpp index 845a91f..4fcadcd 100644 --- a/bootloader.cpp +++ b/bootloader.cpp @@ -1,5 +1,3 @@ -// This file is in public domain. - #include int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPTSTR lpCmd, int nShow)