aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee802154.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-08 00:14:40 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-08 00:14:40 +0000
commitc028f8c55e3796c7e8687054d4d25b92d5597e71 (patch)
treed298c93b555cc25b1c9b1edc5f2b76fcf53192c2 /epan/dissectors/packet-ieee802154.c
parent67a4956e3f478647385583c8ba8dd08365f256e6 (diff)
Flag the arguments as _U_ so that we dont fail the build with "unusued
parameter" warnings if we build without libgcrypt git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31825 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ieee802154.c')
-rw-r--r--epan/dissectors/packet-ieee802154.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee802154.c b/epan/dissectors/packet-ieee802154.c
index 161c59ff65..17743076de 100644
--- a/epan/dissectors/packet-ieee802154.c
+++ b/epan/dissectors/packet-ieee802154.c
@@ -1818,7 +1818,7 @@ ccm_init_block(gchar *block, gboolean adata, gint M, guint64 addr, guint32 count
*---------------------------------------------------------------
*/
static gboolean
-ccm_ctr_encrypt(const gchar *key, const gchar *iv, gchar *mic, gchar *data, gint length)
+ccm_ctr_encrypt(const gchar *key _U_, const gchar *iv _U_, gchar *mic _U_, gchar *data _U_, gint length _U_)
{
#ifdef HAVE_LIBGCRYPT
gcry_cipher_hd_t cipher_hd;
@@ -1876,7 +1876,7 @@ ccm_ctr_encrypt(const gchar *key, const gchar *iv, gchar *mic, gchar *data, gint
*---------------------------------------------------------------
*/
static gboolean
-ccm_cbc_mac(const gchar *key, const gchar *iv, const gchar *a, gint a_len, const gchar *m, gint m_len, gchar *mic)
+ccm_cbc_mac(const gchar *key _U_, const gchar *iv _U_, const gchar *a _U_, gint a_len _U_, const gchar *m _U_, gint m_len _U_, gchar *mic _U_)
{
#ifdef HAVE_LIBGCRYPT
gcry_cipher_hd_t cipher_hd;