summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-01-26 21:40:52 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-01-26 21:40:52 +0000
commitf0c3847bc7122e055936f5c3460b93312ca4910a (patch)
tree59b8a9f3f66778e778b1794b1f5a3b4d8473cf5f
parentbe84ee238f448a5eab596b12efb86efc00f9e89d (diff)
always compile the rfid_hexdump() function, since DEBUG_LIBRFID might be defined only locally and not for the entire project
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2053 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--src/rfid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rfid.c b/src/rfid.c
index c2a86c5..4fd1f68 100644
--- a/src/rfid.c
+++ b/src/rfid.c
@@ -33,7 +33,6 @@ struct rfid_reader_handle rfid_rh;
#endif
#ifndef LIBRFID_FIRMWARE
-#ifdef DEBUG_LIBRFID
const char *
rfid_hexdump(const void *data, unsigned int len)
{
@@ -50,7 +49,6 @@ rfid_hexdump(const void *data, unsigned int len)
}
return string;
}
-#endif/*DEBUG_LIBRFID*/
#else
#define rfid_hexdump(x, y) hexdump(x, y)
#endif
personal git repositories of Harald Welte. Your mileage may vary