Commit 5020cd1b authored by topjohnwu's avatar topjohnwu

Small cleanup

parent cce63622
......@@ -10,7 +10,7 @@
#include "selinux.h"
#include "flags.h"
int create_links(const char *bin, const char *path) {
static int create_links(const char *bin, const char *path) {
char self[PATH_MAX], linkpath[PATH_MAX];
if (bin == NULL) {
xreadlink("/proc/self/exe", self, sizeof(self));
......
......@@ -47,8 +47,6 @@ extern char *argv0; /* For changing process name */
extern int (*applet_main[]) (int, char *[]), (*init_applet_main[]) (int, char *[]);
int create_links(const char *bin, const char *path);
// Multi-call entrypoints
int magisk_main(int argc, char *argv[]);
int magiskhide_main(int argc, char *argv[]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment