commit c780b4de1015f3d29812bfa977cbfa57e607d352
parent 58517b251f0710e20544fbfef9eb710e13cd8c3d
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Sun, 17 Aug 2025 18:31:57 +0200
autoinit_funcs.h: relicensed to LGPL OR GPL+eCos
Licence changes made by the sole author, Evgeny Grin (Karlson2k).
Diffstat:
1 file changed, 37 insertions(+), 18 deletions(-)
diff --git a/src/mhd2/autoinit_funcs.h b/src/mhd2/autoinit_funcs.h
@@ -1,21 +1,40 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later OR (GPL-2.0-or-later WITH eCos-exception-2.0) */
/*
- * AutoinitFuncs: Automatic Initialisation and Deinitialisation Functions
- * Copyright(C) 2014-2024 Karlson2k (Evgeny Grin)
- *
- * This header is free software; you can redistribute it and / or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This header is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this header; if not, see
- * <http://www.gnu.org/licenses/>.
- */
+ AutoinitFuncs: Automatic Initialisation and Deinitialisation Functions
+ Copyright(C) 2014-2024 Karlson2k (Evgeny Grin)
+
+ This header is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This header is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ Alternatively, you can redistribute GNU This header and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version, together
+ with the eCos exception, as follows:
+
+ As a special exception, if other files instantiate templates or
+ use macros or inline functions from this file, or you compile this
+ file and link it with other works to produce a work based on this
+ file, this file does not by itself cause the resulting work to be
+ covered by the GNU General Public License. However the source code
+ for this file must still be made available in accordance with
+ section (3) of the GNU General Public License v2.
+
+ This exception does not invalidate any other reasons why a work
+ based on this file might be covered by the GNU General Public
+ License.
+
+ You should have received copies of the GNU Lesser General Public
+ License and the GNU General Public License along with this header;
+ if not, see <https://www.gnu.org/licenses/>.
+*/
/*
General usage is simple: include this header, define two functions
@@ -78,7 +97,7 @@
* The header version number in packed BCD form.
* (For example, version 1.9.30-1 would be 0x01093001)
*/
-#define AIF_VERSION 0x02000200
+#define AIF_VERSION 0x02000300
/* Define AUTOINIT_FUNCS_NO_WARNINGS to disable all custom warnings
in this header */