mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-02 22:21:51 +00:00
Use const char*
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "utils.h"
|
||||
#include "selinux.h"
|
||||
|
||||
char **excl_list = NULL;
|
||||
const char **excl_list = NULL;
|
||||
|
||||
static int is_excl(const char *name) {
|
||||
if (excl_list)
|
||||
|
||||
@@ -109,7 +109,7 @@ int __fsetxattr(int fd, const char *name, const void *value, size_t size, int fl
|
||||
#define align(p, a) (((p) + (a) - 1) / (a) * (a))
|
||||
#define align_off(p, a) (align(p, a) - (p))
|
||||
|
||||
extern char **excl_list;
|
||||
extern const char **excl_list;
|
||||
|
||||
struct file_attr {
|
||||
struct stat st;
|
||||
|
||||
Reference in New Issue
Block a user