diff --git a/collect.c b/collect.c
index 2ae9c2e..b380f71 100644
--- a/collect.c
+++ b/collect.c
@@ -1,7 +1,7 @@
/*
* Live variable collector
* Copyright (C) 2021, 2023 Gregory James Duck
- * Copyright (C) 2024 Nguyễn Gia Phong
+ * Copyright (C) 2024-2025 Nguyễn Gia Phong
*
* This file is part of taosc.
*
@@ -23,7 +23,7 @@
FILE *fout = NULL;
-void init(int argc, const char *const *argv, const char **envp)
+void init(int argc, const char *const *argv, char **envp)
{
environ = envp;
const char *const path = getenv("TAOSC_OUTPUT");
diff --git a/patch.c b/patch.c
index 2aa697b..eacf2b1 100644
--- a/patch.c
+++ b/patch.c
@@ -1,6 +1,6 @@
/*
* Dynamic patch
- * Copyright (C) 2024 Nguyễn Gia Phong
+ * Copyright (C) 2024-2025 Nguyễn Gia Phong
*
* This file is part of taosc.
*
@@ -39,7 +39,7 @@ uint64_t getenvull(const char *name)
return u;
}
-void init(int argc, const char *const *argv, const char **envp)
+void init(int argc, const char *const *argv, char **envp)
{
environ = envp;
taosc_predicate = getenv("TAOSC_PREDICATE");
|