diff --git a/include/parasite-syscall.h b/include/parasite-syscall.h index bc75984d9..696547058 100644 --- a/include/parasite-syscall.h +++ b/include/parasite-syscall.h @@ -37,9 +37,6 @@ extern int parasite_dump_creds(struct parasite_ctl *ctl, struct _CredsEntry *ce) extern int parasite_dump_pages_seized(struct parasite_ctl *ctl, int vpid, struct vm_area_list *vma_area_list, struct cr_fdset *cr_fdset); -extern int parasite_mprotect_seized(struct parasite_ctl *ctl, - struct vm_area_list *vma_area_list, - bool unprotect); struct parasite_dump_thread; struct pid; struct _CoreEntry; diff --git a/parasite-syscall.c b/parasite-syscall.c index d82995e95..1a2017a2a 100644 --- a/parasite-syscall.c +++ b/parasite-syscall.c @@ -551,7 +551,7 @@ static int generate_iovs(struct vma_area *vma, int pagemap, struct page_pipe *pp return 0; } -int parasite_mprotect_seized(struct parasite_ctl *ctl, struct vm_area_list *vma_area_list, bool unprotect) +static int parasite_mprotect_seized(struct parasite_ctl *ctl, struct vm_area_list *vma_area_list, bool unprotect) { struct parasite_mprotect_args *args; struct parasite_vma_entry *p_vma;