X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cd8e38b13f9c7e3a0be54f77819b90376aada291..067669dac74abfa2acaaef6b1d078d861814e100:/t_stub.c diff --git a/t_stub.c b/t_stub.c index 27ce7d1a..88b697e1 100644 --- a/t_stub.c +++ b/t_stub.c @@ -27,8 +27,9 @@ **/ int modify_window = 0; +struct exclude_struct **server_exclude_list; - void rprintf(enum logcode UNUSED(code), const char *format, ...) + void rprintf(UNUSED(enum logcode code), const char *format, ...) { va_list ap; va_start(ap, format); @@ -42,3 +43,11 @@ int modify_window = 0; code, file, line); exit(code); } + + int check_exclude(UNUSED(struct exclude_struct **list), UNUSED(char *name), + UNUSED(int name_is_dir)) +{ + /* This function doesn't really get called in this test context, so + * just return 0. */ + return 0; +}