convert into static declarations where possible

This commit is contained in:
Nick Chan committed 2025-02-06 11:45:52 +08:00
1 parent ad08952999
commit b62347c73e
13 files changed
+70 -73

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ void thr_cleanup(void* ptr) {
*(int*)ptr = 0;
}
int build_checks(void) {
static int build_checks(void) {
#ifndef NO_CHECKRAIN
#if defined(__APPLE__)
struct mach_header_64* c1_header = (struct mach_header_64*)&checkra1n[0];
@@ -96,7 +96,7 @@ int saved_argc;
char** saved_argv;
char** saved_envp;
int palera1n(int argc, char *argv[], char *envp[]) {
static int palera1n(int argc, char *argv[], char *envp[]) {
saved_argc = argc;
saved_argv = argv;
saved_envp = envp;