mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-02 22:11:52 +00:00
Clean/refactor includes
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
#include <sys/mman.h>
|
||||
#include <linux/fs.h>
|
||||
|
||||
#include "magisk.h"
|
||||
#include "utils.h"
|
||||
#include "selinux.h"
|
||||
#include <magisk.h>
|
||||
#include <utils.h>
|
||||
#include <selinux.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <android/log.h>
|
||||
|
||||
#include "logging.h"
|
||||
#include "flags.h"
|
||||
#include <logging.h>
|
||||
#include <flags.h>
|
||||
|
||||
int nop_log(const char *fmt, va_list ap) {
|
||||
return 0;
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <sys/sysmacros.h>
|
||||
#include <vector>
|
||||
|
||||
#include "logging.h"
|
||||
#include "utils.h"
|
||||
#include <logging.h>
|
||||
#include <utils.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
#include <syscall.h>
|
||||
#include <sys/xattr.h>
|
||||
|
||||
#include "magisk.h"
|
||||
#include "utils.h"
|
||||
#include "selinux.h"
|
||||
#include <magisk.h>
|
||||
#include <utils.h>
|
||||
#include <selinux.h>
|
||||
|
||||
#define UNLABEL_CON "u:object_r:unlabeled:s0"
|
||||
#define SYSTEM_CON "u:object_r:system_file:s0"
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
#include <sys/sendfile.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#include "logging.h"
|
||||
#include "utils.h"
|
||||
#include <logging.h>
|
||||
#include <utils.h>
|
||||
|
||||
FILE *xfopen(const char *pathname, const char *mode) {
|
||||
FILE *fp = fopen(pathname, mode);
|
||||
|
||||
Reference in New Issue
Block a user