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

util: Rename objzero to memzero_p

More natural name

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-10-22 20:41:31 +04:00
parent 5f53dc21d9
commit 6c4798fd44

View File

@@ -104,8 +104,8 @@ extern void printk(const char *format, ...);
#define read_ptr_safe_eof(fd, ptr, err) \
read_safe_eof(fd, ptr, sizeof(*(ptr)), err)
#define objzero(obj_ptr) memset(obj_ptr, 0, sizeof(*(obj_ptr)))
#define memzero(p, size) memset(p, 0, size)
#define memzero_p(p) memset(p, 0, sizeof(*p))
#define memzero(p, size) memset(p, 0, size)
int ptrace_peek_area(pid_t pid, void *dst, void *addr, long bytes);
int ptrace_poke_area(pid_t pid, void *src, void *addr, long bytes);