license comments
diff --git a/include/crc32.h b/include/crc32.h
index b474df2..c77ff91 100644
--- a/include/crc32.h
+++ b/include/crc32.h
@@ -1,4 +1,22 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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/>.
+ */
+
#ifndef _CRC32_H
#define _CRC32_H
diff --git a/include/mtf.h b/include/mtf.h
index 5e85938..aa25485 100644
--- a/include/mtf.h
+++ b/include/mtf.h
@@ -1,4 +1,22 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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/>.
+ */
+
#ifndef _MTF_H
#define _MTF_H
diff --git a/include/srt.h b/include/srt.h
index 30e7c27..63ce264 100644
--- a/include/srt.h
+++ b/include/srt.h
@@ -1,4 +1,22 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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/>.
+ */
+
#ifndef _SRT_H
#define _SRT_H
diff --git a/src/crc32.c b/src/crc32.c
index 9f398da..f9ac88a 100644
--- a/src/crc32.c
+++ b/src/crc32.c
@@ -1,4 +1,22 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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 "crc32.h"
static const uint32_t crc32Table[256] = {
diff --git a/src/main.c b/src/main.c
index 386e09a..28656cb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,20 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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 <fcntl.h>
#include <inttypes.h>
diff --git a/src/mtf.c b/src/mtf.c
index 6adc099..4fafc1e 100644
--- a/src/mtf.c
+++ b/src/mtf.c
@@ -1,4 +1,22 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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 "mtf.h"
void mtf_encode(struct mtf_state * mtf, uint8_t *src, uint8_t *dst, uint32_t count) {
diff --git a/src/srt.c b/src/srt.c
index 5e59200..1cf379f 100644
--- a/src/srt.c
+++ b/src/srt.c
@@ -1,4 +1,22 @@
+/*
+ * BZip3 - A spiritual successor to BZip2.
+ * Copyright (C) 2022 Kamila Szewczyk
+ *
+ * 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 "srt.h"
static const int MAX_HDR_SIZE = 4 * 256;
