Small cleanup

This commit is contained in:
topjohnwu 2018-09-28 01:25:43 -04:00
parent cce636224c
commit 5020cd1bbf
2 changed files with 1 additions and 3 deletions

View File

@ -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));

View File

@ -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[]);