[CRIU] [PATCH 2/7] parasite: Remove typedef-ed type from parasite header

Pavel Emelyanov xemul at parallels.com
Mon Dec 17 15:30:13 EST 2012


I'll include it into a place, that knows nothing about
pb types. Use generic pointer instead.

Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 include/parasite-syscall.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/parasite-syscall.h b/include/parasite-syscall.h
index f4586ef..3e960af 100644
--- a/include/parasite-syscall.h
+++ b/include/parasite-syscall.h
@@ -30,7 +30,8 @@ extern int parasite_dump_itimers_seized(struct parasite_ctl *ctl, struct cr_fdse
 
 struct parasite_dump_misc;
 extern int parasite_dump_misc_seized(struct parasite_ctl *ctl, struct parasite_dump_misc *misc);
-extern int parasite_dump_creds(struct parasite_ctl *ctl, CredsEntry *ce);
+struct _CredsEntry;
+extern int parasite_dump_creds(struct parasite_ctl *ctl, struct _CredsEntry *ce);
 extern int parasite_dump_pages_seized(struct parasite_ctl *ctl,
 				      struct list_head *vma_area_list,
 				      struct cr_fdset *cr_fdset);
-- 
1.7.1


More information about the CRIU mailing list