Commit 32ac78a4 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

util: Drop ptrace seize helpers declaration from the header

Already defined in seize.h
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 8a90464c
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "compiler.h" #include "compiler.h"
#include "crtools.h" #include "crtools.h"
#include "syscall.h" #include "syscall.h"
#include "seize.h"
#include "util.h" #include "util.h"
#include "image.h" #include "image.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <sys/ptrace.h> #include <sys/ptrace.h>
int seize_task(pid_t pid); extern int seize_task(pid_t pid);
int unseize_task(pid_t pid); extern int unseize_task(pid_t pid);
#endif /* SEIZE_H_ */ #endif /* SEIZE_H_ */
...@@ -128,9 +128,6 @@ int ptrace_poke_area(pid_t pid, void *src, void *addr, long bytes); ...@@ -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(pid_t pid, void *addr, long bytes);
int ptrace_show_area_r(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_registers(user_regs_struct_t *regs);
void printk_siginfo(siginfo_t *siginfo); void printk_siginfo(siginfo_t *siginfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment