summaryrefslogtreecommitdiff
path: root/t_stub.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-05-23 08:50:42 -0700
committerWayne Davison <wayned@samba.org>2009-05-23 09:07:43 -0700
commit7b6c5c77942b8d11631c873b008e0b405d435bc0 (patch)
tree44c21253daeaecd92fceb7d0403dd23585cdd8ec /t_stub.c
parentb32d425451798d514b958a978f5f78903ed3327b (diff)
downloadrsync-7b6c5c77942b8d11631c873b008e0b405d435bc0.tar.gz
Use typedefs for the filter structures.
Diffstat (limited to 't_stub.c')
-rw-r--r--t_stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t_stub.c b/t_stub.c
index db6d1fe3..e176b8b2 100644
--- a/t_stub.c
+++ b/t_stub.c
@@ -30,7 +30,7 @@ mode_t orig_umask = 002;
char number_separator = ',';
char *partial_dir;
char *module_dir;
-struct filter_list_struct daemon_filter_list;
+filter_rule_list daemon_filter_list;
void rprintf(UNUSED(enum logcode code), const char *format, ...)
{
@@ -57,7 +57,7 @@ struct filter_list_struct daemon_filter_list;
exit(code);
}
- int check_filter(UNUSED(struct filter_list_struct *listp), UNUSED(enum logcode code),
+ int check_filter(UNUSED(filter_rule_list *listp), UNUSED(enum logcode code),
UNUSED(const char *name), UNUSED(int name_is_dir))
{
/* This function doesn't really get called in this test context, so