X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cd8e38b13f9c7e3a0be54f77819b90376aada291..16417f8b9d1947f4efbe540ee6983feba2ebc21c:/t_stub.c 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; +}