Remove wrong static keywords from some qssb_*_policy functions

This commit is contained in:
Albert S. 2020-04-13 23:00:33 +02:00
부모 0a851790b8
커밋 dbdb35db37
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

4
qssb.h
파일 보기

@ -298,7 +298,7 @@ static int mount_to_chroot(const char *chroot_target_path, struct qssb_path_poli
/* Ends the policy as best as possible. */
/* TODO: can this function do actually anything useful?*/
static int qssb_end_policy(struct qssb_policy *ctxt)
int qssb_end_policy(struct qssb_policy *ctxt)
{
return 0;
}
@ -306,7 +306,7 @@ static int qssb_end_policy(struct qssb_policy *ctxt)
/*
* Frees the memory taken by a qssb_policy object
*/
static void qssb_free_policy(struct qssb_policy *ctxt)
void qssb_free_policy(struct qssb_policy *ctxt)
{
free(ctxt);
}