diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/wrapfuncs.h | 3 | ||||
-rw-r--r-- | templates/wrapper_table | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/templates/wrapfuncs.h b/templates/wrapfuncs.h index 403d261..7ec7637 100644 --- a/templates/wrapfuncs.h +++ b/templates/wrapfuncs.h @@ -14,9 +14,6 @@ static ${type} (*real_${name})(${decl_args}); /* int fork(void) */ static int wrap_fork(void); static int (*real_fork)(void); -/* int clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...) */ -static int wrap_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...); -static int (*real_clone)(int (*fn)(void *), void *child_stack, int flags, void *arg, ...); /* int execv(const char *file, char *const *argv) */ static int wrap_execv(const char *file, char *const *argv); static int (*real_execv)(const char *file, char *const *argv); diff --git a/templates/wrapper_table b/templates/wrapper_table index dd9c249..42ee159 100644 --- a/templates/wrapper_table +++ b/templates/wrapper_table @@ -22,11 +22,6 @@ static struct { (int (**)(void)) &real_fork, (int (*)(void)) wrap_fork }, - { /* int clone(int (*fn)(void *), void *, int, void, ...); */ - "clone", - (int (**)(void)) &real_clone, - (int (*)(void)) wrap_clone - }, { /* int execv(const char *file, char *const *argv); */ "execv", (int (**)(void)) &real_execv, |