From 4edabd3d4f1708965072c896ec07f1b8f9d6500d Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Mon, 8 Apr 2013 17:28:30 +0400 Subject: [PATCH] mem: Don't export parasite_mptotect_seized Signed-off-by: Pavel Emelyanov --- include/parasite-syscall.h | 3 --- parasite-syscall.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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;