Minor code changes across all sources

This commit is contained in:
topjohnwu
2019-06-30 19:09:31 -07:00
parent db8dd9f186
commit ff3710de66
20 changed files with 50 additions and 82 deletions

View File

@ -18,9 +18,7 @@
#define SEPOL_PROC_DOMAIN "magisk"
#define SEPOL_FILE_DOMAIN "magisk_file"
#ifdef __cplusplus
extern "C" {
#endif
__BEGIN_DECLS
extern void (*freecon)(char *con);
extern int (*setcon)(const char *con);
@ -38,6 +36,4 @@ void dload_selinux();
void restorecon();
void restore_rootcon();
#ifdef __cplusplus
}
#endif
__END_DECLS