mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-27 13:07:39 +00:00
Clean init.c
This commit is contained in:
parent
7c12bf7fa1
commit
803c5377a6
@ -48,7 +48,7 @@ extern char *argv0; /* For changing process name */
|
|||||||
#define applet_names ((const char *[]) { "magisk", "su", "resetprop", "magiskhide", "imgtool", NULL })
|
#define applet_names ((const char *[]) { "magisk", "su", "resetprop", "magiskhide", "imgtool", NULL })
|
||||||
#define init_applet ((const char *[]) { "magiskpolicy", "supolicy", NULL })
|
#define init_applet ((const char *[]) { "magiskpolicy", "supolicy", NULL })
|
||||||
|
|
||||||
extern int (*applet_main[]) (int, char *[]), (*init_applet_main[]) (int, char *[]);
|
extern int (*applet_main[]) (int, char *[]);
|
||||||
|
|
||||||
// Multi-call entrypoints
|
// Multi-call entrypoints
|
||||||
int magisk_main(int argc, char *argv[]);
|
int magisk_main(int argc, char *argv[]);
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
|
|
||||||
#include "magiskrc.h"
|
#include "magiskrc.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "daemon.h"
|
|
||||||
#include "magisk.h"
|
#include "magisk.h"
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user