summaryrefslogtreecommitdiff
path: root/t_stub.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-07-01 21:45:29 +0000
committerWayne Davison <wayned@samba.org>2003-07-01 21:45:29 +0000
commitd542c20c5fd636c6973b7bcbed6be2bedbed4bcd (patch)
treebddba3ffe46a7340440665ac017205b3d1a5a5c5 /t_stub.c
parent4762db4fc90e0bd0c04c9ba7c50123d378427fd0 (diff)
downloadrsync-d542c20c5fd636c6973b7bcbed6be2bedbed4bcd.tar.gz
New stubs to get the test setup to compile with the exclude changes.
Diffstat (limited to 't_stub.c')
-rw-r--r--t_stub.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/t_stub.c b/t_stub.c
index 27ce7d1a..50ca4e19 100644
--- a/t_stub.c
+++ b/t_stub.c
@@ -27,6 +27,7 @@
**/
int modify_window = 0;
+struct exclude_struct **server_exclude_list;
void rprintf(enum logcode UNUSED(code), const char *format, ...)
{
@@ -42,3 +43,10 @@ int modify_window = 0;
code, file, line);
exit(code);
}
+
+ int check_exclude(struct exclude_struct **list, char *name, int name_is_dir)
+{
+ /* This function doesn't really get called in a test context, so
+ * just reference our parameters to avoid compiler warnings. */
+ return 0 && list && name && name_is_dir;
+}