From: Pete Zaitcev <zaitcev@redhat.com>
To: Jeff Garzik <jeff@garzik.org>,
Project Hail List <hail-devel@vger.kernel.org>
Subject: [Patch 2/3] cldcli: suppress warnings from -Wshadow
Date: Mon, 3 Aug 2009 19:54:28 -0600 [thread overview]
Message-ID: <20090803195428.075142a5@redhat.com> (raw)
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
diff --git a/tools/cldcli.c b/tools/cldcli.c
index bb5c4cc..90ae601 100644
--- a/tools/cldcli.c
+++ b/tools/cldcli.c
@@ -437,12 +437,12 @@ static bool cld_p_timer_ctl(void *private, bool add,
static int cld_p_pkt_send(void *priv, const void *addr, size_t addrlen,
const void *buf, size_t buflen)
{
- struct cldc_udp *udp = priv;
- return cldc_udp_pkt_send(udp, addr, addrlen, buf, buflen);
+ struct cldc_udp *udpp = priv;
+ return cldc_udp_pkt_send(udpp, addr, addrlen, buf, buflen);
}
static void cld_p_event(void *private, struct cldc_session *sess,
- struct cldc_fh *fh, uint32_t what)
+ struct cldc_fh *fhp, uint32_t what)
{
fprintf(stderr, "FIXME: event\n");
}
next reply other threads:[~2009-08-04 1:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-04 1:54 Pete Zaitcev [this message]
2009-08-04 2:11 ` [Patch 2/3] cldcli: suppress warnings from -Wshadow Jeff Garzik
2009-08-04 4:11 ` Pete Zaitcev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090803195428.075142a5@redhat.com \
--to=zaitcev@redhat.com \
--cc=hail-devel@vger.kernel.org \
--cc=jeff@garzik.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.