2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

util: add ability to release a last piece from a shared pool (v2)

v2: s/shfree/shfree_last

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-09-02 17:23:27 +04:00
committed by Pavel Emelyanov
parent ae70bc0ad6
commit 67b6748f68
2 changed files with 12 additions and 0 deletions

View File

@@ -319,5 +319,6 @@ static inline int read_img_str(int fd, char **pstr, int size)
}
extern void *shmalloc(size_t bytes);
extern void shfree_last(void *ptr);
#endif /* UTIL_H_ */