aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git2d/rw.c5
-rw-r--r--git2d/session.c5
-rw-r--r--git2d/utf8.c5
-rw-r--r--git2d/x.h5
4 files changed, 20 insertions, 0 deletions
diff --git a/git2d/rw.c b/git2d/rw.c
index a3e40e1..4a227f1 100644
--- a/git2d/rw.c
+++ b/git2d/rw.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"
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);
diff --git a/git2d/x.h b/git2d/x.h
index 4be5186..92f7414 100644
--- a/git2d/x.h
+++ b/git2d/x.h
@@ -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>