Fix weird error in test programs on SunOS.
authorWayne Davison <wayned@samba.org>
Sat, 19 Jan 2013 20:04:17 +0000 (12:04 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 19 Jan 2013 20:07:38 +0000 (12:07 -0800)
t_stub.c

index 4677aa8e0d862e77b4b6c968daf5265017586fc1..637e0d55754bc33ced466d69cc5133c564345a8c 100644 (file)
--- a/t_stub.c
+++ b/t_stub.c
@@ -26,6 +26,7 @@ int preallocate_files = 0;
 int module_id = -1;
 int relative_paths = 0;
 int module_dirlen = 0;
+int preserve_acls = 0;
 int preserve_times = 0;
 int preserve_xattrs = 0;
 char number_separator = ',';
@@ -71,6 +72,16 @@ filter_rule_list daemon_filter_list;
        return -1;
 }
 
+ void free_xattr(UNUSED(stat_x *sxp))
+{
+       return;
+}
+
+ void free_acl(UNUSED(stat_x *sxp))
+{
+       return;
+}
+
  char *lp_name(UNUSED(int mod))
 {
        return NULL;