aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapper_table
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wrapper_table')
-rw-r--r--templates/wrapper_table6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/wrapper_table b/templates/wrapper_table
index a16dca9..2419c7d 100644
--- a/templates/wrapper_table
+++ b/templates/wrapper_table
@@ -16,5 +16,11 @@ static struct {
(int (*)(void)) wrap_${name}
},
@footer
+ /* special cases: Functions which need manually-coded wrappers */
+ { /* int fork(void); */
+ "fork",
+ (int (**)(void)) &real_fork,
+ (int (*)(void)) wrap_fork
+ },
{ NULL, NULL, NULL },
};