diff options
Diffstat (limited to 'templates/wrapfuncs.h')
-rw-r--r-- | templates/wrapfuncs.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/templates/wrapfuncs.h b/templates/wrapfuncs.h index 403d261..1ce4fcc 100644 --- a/templates/wrapfuncs.h +++ b/templates/wrapfuncs.h @@ -8,22 +8,5 @@ /* ${comment} */ static ${type} wrap_${name}(${wrap_args}); static ${type} (*real_${name})(${decl_args}); +${real_predecl} @footer -/* special cases: functions with manually-written wrappers */ - -/* 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); -/* int execve(const char *file, char *const *argv, char *const *envp) */ -static int wrap_execve(const char *file, char *const *argv, char *const *envp); -static int (*real_execve)(const char *file, char *const *argv, char *const *envp); -/* int execvp(const char *file, char *const *argv) */ -static int wrap_execvp(const char *file, char *const *argv); -static int (*real_execvp)(const char *file, char *const *argv); - |