diff options
Diffstat (limited to 'src/vtab.c')
-rw-r--r-- | src/vtab.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,7 +51,7 @@ url_to_vtab (mu_url_t url, struct virt_tab *vtab) | |||
51 | 51 | ||
52 | 52 | ||
53 | int | 53 | int |
54 | move_file (struct file_triplet *trp, struct spool *spool, | 54 | move_file (struct file_triplet *trp, const const struct spool *spool, |
55 | enum file_type file_id, const char *reldir) | 55 | enum file_type file_id, const char *reldir) |
56 | { | 56 | { |
57 | int rc = spool->vtab.move_file (trp, spool, file_id, reldir); | 57 | int rc = spool->vtab.move_file (trp, spool, file_id, reldir); |
@@ -61,7 +61,7 @@ move_file (struct file_triplet *trp, struct spool *spool, | |||
61 | } | 61 | } |
62 | 62 | ||
63 | int | 63 | int |
64 | archive_file (struct file_triplet *trp, struct spool *spool, | 64 | archive_file (struct file_triplet *trp, const struct spool *spool, |
65 | const char *reldir, const char *file_name) | 65 | const char *reldir, const char *file_name) |
66 | { | 66 | { |
67 | int rc = spool->vtab.archive_file (trp, spool, reldir, file_name); | 67 | int rc = spool->vtab.archive_file (trp, spool, reldir, file_name); |
@@ -71,7 +71,7 @@ archive_file (struct file_triplet *trp, struct spool *spool, | |||
71 | } | 71 | } |
72 | 72 | ||
73 | int | 73 | int |
74 | symlink_file (struct file_triplet *trp, struct spool *spool, | 74 | symlink_file (struct file_triplet *trp, const struct spool *spool, |
75 | const char *reldir, | 75 | const char *reldir, |
76 | const char *wanted_src, const char *wanted_dst) | 76 | const char *wanted_src, const char *wanted_dst) |
77 | { | 77 | { |
@@ -84,7 +84,7 @@ symlink_file (struct file_triplet *trp, struct spool *spool, | |||
84 | } | 84 | } |
85 | 85 | ||
86 | int | 86 | int |
87 | rmsymlink_file (struct file_triplet *trp, struct spool *spool, | 87 | rmsymlink_file (struct file_triplet *trp, const struct spool *spool, |
88 | const char *reldir, const char *file_name) | 88 | const char *reldir, const char *file_name) |
89 | { | 89 | { |
90 | int rc = spool->vtab.rmsymlink_file (trp, spool, reldir, file_name); | 90 | int rc = spool->vtab.rmsymlink_file (trp, spool, reldir, file_name); |