Project

General

Profile

Bug #1028 » cpdup-1.11-unused.patch

msylvan, 06/11/2008 08:20 PM

View differences:

cpdup-1.11/hcproto.c 2008-06-11 15:44:51.000000000 -0400
}
static int
rc_hello(hctransaction_t trans, struct HCHead *head __unused)
rc_hello(hctransaction_t trans, struct HCHead *head __cpdup_unused)
{
char hostbuf[256];
......
}
static int
rc_remove(hctransaction_t trans __unused, struct HCHead *head)
rc_remove(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
* MKDIR
*/
int
hc_mkdir(struct HostConf *hc __unused, const char *path, mode_t mode)
hc_mkdir(struct HostConf *hc __cpdup_unused, const char *path, mode_t mode)
{
hctransaction_t trans;
struct HCHead *head;
......
}
static int
rc_mkdir(hctransaction_t trans __unused, struct HCHead *head)
rc_mkdir(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_rmdir(hctransaction_t trans __unused, struct HCHead *head)
rc_rmdir(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_chown(hctransaction_t trans __unused, struct HCHead *head)
rc_chown(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_lchown(hctransaction_t trans __unused, struct HCHead *head)
rc_lchown(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_chmod(hctransaction_t trans __unused, struct HCHead *head)
rc_chmod(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_mknod(hctransaction_t trans __unused, struct HCHead *head)
rc_mknod(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_link(hctransaction_t trans __unused, struct HCHead *head)
rc_link(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *name1 = NULL;
......
}
static int
rc_chflags(hctransaction_t trans __unused, struct HCHead *head)
rc_chflags(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *path = NULL;
......
}
static int
rc_symlink(hctransaction_t trans __unused, struct HCHead *head)
rc_symlink(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *name1 = NULL;
......
}
static int
rc_rename(hctransaction_t trans __unused, struct HCHead *head)
rc_rename(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
const char *name1 = NULL;
......
}
static int
rc_utimes(hctransaction_t trans __unused, struct HCHead *head)
rc_utimes(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
struct HCLeaf *item;
struct timeval times[2];
-- cpdup-1.11/hclink.c.unused 2008-05-24 13:21:36.000000000 -0400
++ cpdup-1.11/hclink.c 2008-06-11 15:44:30.000000000 -0400
......
}
static int
rc_badop(hctransaction_t trans __unused, struct HCHead *head)
rc_badop(hctransaction_t trans __cpdup_unused, struct HCHead *head)
{
head->error = EOPNOTSUPP;
return(0);
......
}
void
hcc_free_trans(struct HostConf *hc __unused)
hcc_free_trans(struct HostConf *hc __cpdup_unused)
{
/* nop */
}
(3-3/3)