diff options
Diffstat (limited to 'templates/wrapper_table')
-rw-r--r-- | templates/wrapper_table | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/wrapper_table b/templates/wrapper_table new file mode 100644 index 0000000..a16dca9 --- /dev/null +++ b/templates/wrapper_table @@ -0,0 +1,20 @@ +@name pseudo_wrapper_table.c +@header +/* The table of wrapper functions to populate */ + +/* This file is generated and should not be modified. See the makewrappers + * script if you want to modify this. */ +static struct { + char *name; /* the name */ + int (**real)(void); /* the underlying syscall */ + int (*wrapper)(void); /* the wrapper from guts/name.c */ +} pseudo_functions[] = { +@body + { /* ${comment}; */ + "${name}", + (int (**)(void)) &real_${name}, + (int (*)(void)) wrap_${name} + }, +@footer + { NULL, NULL, NULL }, +}; |