summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGentoo <installgentoo@endianness.com>2022-08-30 23:03:51 +1000
committerGentoo <installgentoo@endianness.com>2022-08-30 23:03:51 +1000
commit843168a4a9e010e02aad9c2c535f7c434f4f64e3 (patch)
treee2c4af475ce197245bfa95207cfdff82ea3199aa
parent01fc81e614a344b052caf2a2692961299c27d535 (diff)
downloadprimedecompose-master.tar.gz
primedecompose-master.tar.bz2
primedecompose-master.zip
added license headerHEADmaster
-rw-r--r--LICENSE (renamed from LICENCE)0
-rw-r--r--main.c13
2 files changed, 12 insertions, 1 deletions
diff --git a/LICENCE b/LICENSE
index f288702..f288702 100644
--- a/LICENCE
+++ b/LICENSE
diff --git a/main.c b/main.c
index 78fd778..4d1d862 100644
--- a/main.c
+++ b/main.c
@@ -1,3 +1,14 @@
+/* Copyright (C) 2021 Gentoo-libre Install
+
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -88,7 +99,7 @@ if (!argv[1]){goto stdinMode;}
printf("Usage (stdin mode): %s\n", argv[0]);
printf("Ctrl+D to exit\n");
printf("Shows working of prime decomposition, you gotta extract the answer yourself though.\n");
- printf("Licence: GPLv3\n");
+ printf("License: GPLv3+\n");
return 0;
}