From: laforge Date: Sat, 26 Jan 2008 21:40:52 +0000 (+0000) Subject: always compile the rfid_hexdump() function, since DEBUG_LIBRFID might be defined... X-Git-Url: http://git.rot13.org/?p=librfid;a=commitdiff_plain;h=f0c3847bc7122e055936f5c3460b93312ca4910a 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 --- 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