mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
util: Drop ptrace seize helpers declaration from the header
Already defined in seize.h Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "compiler.h"
|
||||
#include "crtools.h"
|
||||
#include "syscall.h"
|
||||
#include "seize.h"
|
||||
#include "util.h"
|
||||
|
||||
#include "image.h"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <sys/ptrace.h>
|
||||
|
||||
int seize_task(pid_t pid);
|
||||
int unseize_task(pid_t pid);
|
||||
extern int seize_task(pid_t pid);
|
||||
extern int unseize_task(pid_t pid);
|
||||
|
||||
#endif /* SEIZE_H_ */
|
||||
|
@@ -128,9 +128,6 @@ int ptrace_poke_area(pid_t pid, void *src, void *addr, long bytes);
|
||||
int ptrace_show_area(pid_t pid, void *addr, long bytes);
|
||||
int ptrace_show_area_r(pid_t pid, void *addr, long bytes);
|
||||
|
||||
int seize_task(pid_t pid);
|
||||
int unseize_task(pid_t pid);
|
||||
|
||||
void printk_registers(user_regs_struct_t *regs);
|
||||
void printk_siginfo(siginfo_t *siginfo);
|
||||
|
||||
|
Reference in New Issue
Block a user