From e3ff11eb46616bf05c2290158fbe3d9f1ea66e42 Mon Sep 17 00:00:00 2001
From: Romuald Conty <romuald@libnfc.org>
Date: Tue, 20 Apr 2010 09:44:27 +0000
Subject: [PATCH] Fix warnings "no previous prototype for ..." on bitutils.[hc]

---
 libnfc/bitutils.c | 1 +
 libnfc/bitutils.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/libnfc/bitutils.c b/libnfc/bitutils.c
index 197a8a2..eaee845 100644
--- a/libnfc/bitutils.c
+++ b/libnfc/bitutils.c
@@ -29,6 +29,7 @@
 #include <stdio.h>
 
 #include "bitutils.h"
+#include "nfc/nfc.h"
 
 static const byte_t OddParity[256] = {
   1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1,
diff --git a/libnfc/bitutils.h b/libnfc/bitutils.h
index 1a9eea1..a970af9 100644
--- a/libnfc/bitutils.h
+++ b/libnfc/bitutils.h
@@ -49,9 +49,11 @@
 #include <nfc/nfc-types.h>
 
 byte_t oddparity(const byte_t bt);
+void oddparity_bytes(const byte_t* pbtData, const size_t szLen, byte_t* pbtPar);
 void oddparity_byte_ts(const byte_t* pbtData, const size_t szLen, byte_t* pbtPar);
 
 NFC_EXPORT byte_t mirror(byte_t bt);
+NFC_EXPORT void mirror_bytes(byte_t *pbts, size_t szLen);
 NFC_EXPORT uint32_t mirror32(uint32_t ui32Bits);
 NFC_EXPORT uint64_t mirror64(uint64_t ui64Bits);
 NFC_EXPORT void mirror_byte_ts(byte_t *pbts, size_t szLen);