Clean/refactor includes

This commit is contained in:
topjohnwu
2019-02-10 03:57:51 -05:00
parent 5746614ccf
commit 71ecbb3af3
32 changed files with 91 additions and 85 deletions

View File

@@ -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 \

View File

@@ -17,7 +17,8 @@
#include <errno.h>
#include <pthread.h>
#include "magisk.h"
#include <magisk.h>
#include "pts.h"
/**

View File

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

View File

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