From dbdb35db371b79bb6a35cfbb9ef3815cdd5beff6 Mon Sep 17 00:00:00 2001 From: Albert S Date: Mon, 13 Apr 2020 23:00:33 +0200 Subject: [PATCH] Remove wrong static keywords from some qssb_*_policy functions --- qssb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qssb.h b/qssb.h index cefe55a..da61bf4 100644 --- a/qssb.h +++ b/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); }