Skip to content

Commit

Permalink
Export several function symbols
Browse files Browse the repository at this point in the history
We need to access several non-exported functions in magiskpolicy.
  • Loading branch information
topjohnwu committed Jan 30, 2022
1 parent d9055a0 commit e1b0f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libsepol/src/avtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* public domain.
*/
ignore_unsigned_overflow_
static inline int avtab_hash(struct avtab_key *keyp, uint32_t mask)
int avtab_hash(struct avtab_key *keyp, uint32_t mask)
{
static const uint32_t c1 = 0xcc9e2d51;
static const uint32_t c2 = 0x1b873593;
Expand Down
2 changes: 1 addition & 1 deletion libsepol/src/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ int policydb_index_bools(policydb_t * p)
return 0;
}

static int policydb_index_decls(sepol_handle_t * handle, policydb_t * p)
int policydb_index_decls(sepol_handle_t * handle, policydb_t * p)
{
avrule_block_t *curblock;
avrule_decl_t *decl;
Expand Down

0 comments on commit e1b0f3f

Please sign in to comment.