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,15 +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/>.
/* stream.c: Stream implementation
* Created: 2025-08-26
* Description: Stream implementation
* Author: Aryadev Chavali
* License: See end of file
* Commentary:
*/
#include <stdlib.h>
@@ -367,3 +360,15 @@ sv_t stream_while(stream_t *stream, const char *str)
return SV(NULL, 0);
return stream_substr_abs(stream, current_position, size - 1);
}
/* 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/>.
*/