mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-15 13:20:16 +00:00
Small native code reorganization
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include <sys/mount.h>
|
||||
|
||||
#include <magisk.h>
|
||||
#include <utils.h>
|
||||
#include <selinux.h>
|
||||
#include <resetprop.h>
|
||||
#include <magisk.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <selinux.hpp>
|
||||
#include <resetprop.hpp>
|
||||
|
||||
#include "magiskhide.h"
|
||||
#include "magiskhide.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@@ -7,11 +7,11 @@
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <magisk.h>
|
||||
#include <utils.h>
|
||||
#include <db.h>
|
||||
#include <magisk.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <db.hpp>
|
||||
|
||||
#include "magiskhide.h"
|
||||
#include "magiskhide.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@@ -8,11 +8,11 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
|
||||
#include <daemon.h>
|
||||
#include <utils.h>
|
||||
#include <daemon.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <flags.h>
|
||||
|
||||
#include "magiskhide.h"
|
||||
#include "magiskhide.hpp"
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
#include <daemon.h>
|
||||
#include <daemon.hpp>
|
||||
|
||||
#define SIGTERMTHRD SIGUSR1
|
||||
#define SIGZYGOTE SIGUSR2
|
@@ -13,10 +13,10 @@
|
||||
#include <vector>
|
||||
#include <bitset>
|
||||
|
||||
#include <logging.h>
|
||||
#include <utils.h>
|
||||
#include <logging.hpp>
|
||||
#include <utils.hpp>
|
||||
|
||||
#include "magiskhide.h"
|
||||
#include "magiskhide.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
Reference in New Issue
Block a user