Update license formats for all source code

This commit is contained in:
2026-02-03 19:02:47 +00:00
parent 698b2b96b1
commit 27108aa811
10 changed files with 160 additions and 113 deletions

View File

@@ -1,16 +1,8 @@
/* Copyright (C) 2025 Aryadev Chavali
* 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 Unlicense
* for details.
* You may distribute and modify this code under the terms of the
* Unlicense, which you should have received a copy of along with this
* program. If not, please go to <https://unlicense.org/>.
/* sv.c: String views
* Created: 2025-08-21
* Description: String views
* Author: Aryadev Chavali
* License: See end of file
* Commentary:
*/
#include <malloc.h>
@@ -25,3 +17,15 @@ sv_t sv_copy(sv_t old)
newstr[old.size] = '\0';
return SV(newstr, old.size);
}
/* Copyright (C) 2025, 2026 Aryadev Chavali
* 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 Unlicense for details.
* You may distribute and modify this code under the terms of the Unlicense,
* which you should have received a copy of along with this program. If not,
* please go to <https://unlicense.org/>.
*/