mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 11:09:48 +02:00
convert into static declarations where possible
This commit is contained in:
1 parent
ad08952999
commit
b62347c73e
13 files changed
+70
-73
No files matched your search
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user