diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-03-01 14:42:59 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-03-01 14:42:59 +0000 |
commit | 62ab789de5f5ace97a93fce551469f0229ba8c92 (patch) | |
tree | f5f399996b90ce9cd067d90f2b08d671b2e3cafd /filter | |
parent | 31e79264a21df1acdbfbb66af40e05073b115a2c (diff) |
Added type parameter to f_new_dynamic_attr.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/f-util.c | 4 | ||||
-rw-r--r-- | filter/filter.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/filter/f-util.c b/filter/f-util.c index 6a42b9d3..1f3c79a3 100644 --- a/filter/f-util.c +++ b/filter/f-util.c @@ -33,10 +33,10 @@ f_new_inst(void) } struct f_inst * -f_new_dynamic_attr(int code) +f_new_dynamic_attr(int type, int code) { struct f_inst *f = f_new_inst(); - f->aux = EAF_TYPE_INT | EAF_INLINE; + f->aux = type; f->a2.i = code; return f; } diff --git a/filter/filter.h b/filter/filter.h index bbf30408..3f05f6a3 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -57,7 +57,7 @@ struct filter { void filters_postconfig(void); struct f_inst *f_new_inst(void); -struct f_inst *f_new_dynamic_attr(int code); +struct f_inst *f_new_dynamic_attr(int type, int code); struct f_tree *f_new_tree(void); struct f_tree *build_tree(struct f_tree *); |