Switch types to C99 standard using stdint.h

Add stdint.h header check to ./configure
Add -std=c99 to CFLAGS.
This commit is contained in:
Romuald Conty
2009-05-27 10:13:19 +00:00
parent d32d57f237
commit ab3664b056
15 changed files with 140 additions and 128 deletions

View File

@@ -21,15 +21,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef _LIBNFC_DEV_ACR122_H_
#define _LIBNFC_DEV_ACR122_H_
#include <stdint.h>
#include "defines.h"
#include "types.h"
// Functions used by developer to handle connection to this device
dev_info* dev_acr122_connect(const ui32 uiIndex);
dev_info* dev_acr122_connect(const uint32_t uiIndex);
void dev_acr122_disconnect(dev_info* pdi);
// Callback function used by libnfc to transmit commands to the PN53X chip
bool dev_acr122_transceive(const dev_spec ds, const byte* pbtTx, const ui32 uiTxLen, byte* pbtRx, ui32* puiRxLen);
bool dev_acr122_transceive(const dev_spec ds, const byte* pbtTx, const uint32_t uiTxLen, byte* pbtRx, uint32_t* puiRxLen);
// Various additional features this device supports
char* dev_acr122_firmware(const dev_spec ds);