mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-15 18:10:23 +00:00
Clean/refactor includes
This commit is contained in:
@@ -12,9 +12,10 @@
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "magisk.h"
|
||||
#include "daemon.h"
|
||||
#include "utils.h"
|
||||
#include <magisk.h>
|
||||
#include <daemon.h>
|
||||
#include <utils.h>
|
||||
|
||||
#include "su.h"
|
||||
|
||||
#define BROADCAST_BOOT_COMPLETED \
|
||||
|
@@ -17,7 +17,8 @@
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "magisk.h"
|
||||
#include <magisk.h>
|
||||
|
||||
#include "pts.h"
|
||||
|
||||
/**
|
||||
|
@@ -21,12 +21,13 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "magisk.h"
|
||||
#include "daemon.h"
|
||||
#include "utils.h"
|
||||
#include <magisk.h>
|
||||
#include <daemon.h>
|
||||
#include <utils.h>
|
||||
#include <flags.h>
|
||||
|
||||
#include "su.h"
|
||||
#include "pts.h"
|
||||
#include "flags.h"
|
||||
|
||||
int quit_signals[] = { SIGALRM, SIGABRT, SIGHUP, SIGPIPE, SIGQUIT, SIGTERM, SIGINT, 0 };
|
||||
|
||||
|
@@ -11,12 +11,13 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "magisk.h"
|
||||
#include "daemon.h"
|
||||
#include "utils.h"
|
||||
#include <magisk.h>
|
||||
#include <daemon.h>
|
||||
#include <utils.h>
|
||||
#include <selinux.h>
|
||||
|
||||
#include "su.h"
|
||||
#include "pts.h"
|
||||
#include "selinux.h"
|
||||
|
||||
#define LOCK_CACHE() pthread_mutex_lock(&cache_lock)
|
||||
#define UNLOCK_CACHE() pthread_mutex_unlock(&cache_lock)
|
||||
|
Reference in New Issue
Block a user