diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 11:07:43 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 11:07:43 +0800 |
commit | 9fc3f5cfa20ccdfdfcaa6a4b5f9c700ba1f8c0c2 (patch) | |
tree | 2c5712a7b0443a12ea13df55627e51a08b2ebdcc | |
parent | git2d: Separate the files a bit (diff) | |
download | forge-9fc3f5cfa20ccdfdfcaa6a4b5f9c700ba1f8c0c2.tar.gz forge-9fc3f5cfa20ccdfdfcaa6a4b5f9c700ba1f8c0c2.tar.zst forge-9fc3f5cfa20ccdfdfcaa6a4b5f9c700ba1f8c0c2.zip |
git2d: Add license headers where missing
-rw-r--r-- | git2d/rw.c | 5 | ||||
-rw-r--r-- | git2d/session.c | 5 | ||||
-rw-r--r-- | git2d/utf8.c | 5 | ||||
-rw-r--r-- | git2d/x.h | 5 |
4 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,8 @@ +/*- + * SPDX-License-Identifier: AGPL-3.0-only + * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> + */ + #include "x.h" bare_error diff --git a/git2d/session.c b/git2d/session.c index a0d98ee..d8d7812 100644 --- a/git2d/session.c +++ b/git2d/session.c @@ -1,3 +1,8 @@ +/*- + * SPDX-License-Identifier: AGPL-3.0-only + * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> + */ + #include "x.h" void * diff --git a/git2d/utf8.c b/git2d/utf8.c index 2937cb6..27c7a22 100644 --- a/git2d/utf8.c +++ b/git2d/utf8.c @@ -1,3 +1,8 @@ +/*- + * SPDX-License-Identifier: AGPL-3.0-only + * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> + */ + #include "utf8.h" extern inline void *utf8_decode(void *buf, uint32_t *c, int *e); @@ -1,3 +1,8 @@ +/*- + * SPDX-License-Identifier: AGPL-3.0-only + * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> + */ + #include <err.h> #include <errno.h> #include <git2.h> |