From 2632b38ef665a93138dcfba7f0688c03c970d6ce Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Sat, 30 Apr 2011 00:33:33 +0200 Subject: Use stdint types --- include/tag.h | 6 ++++-- include/types.h | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/tag.h b/include/tag.h index f74d8a0..b254fcb 100644 --- a/include/tag.h +++ b/include/tag.h @@ -22,6 +22,8 @@ #ifndef __NEAR_TAG_H #define __NEAR_TAG_H +#include + #include #define NEAR_TAG_NFC_TYPE1 0x1 @@ -32,9 +34,9 @@ #define NEAR_TAG_NFC_UNKNOWN 0xff struct near_tag_driver { - near_uint16_t type; + uint16_t type; - int (*read)(guint32 adapter_idx, guint32 target_idx, + int (*read)(uint32_t adapter_idx, uint32_t target_idx, void *buf, size_t length); }; diff --git a/include/types.h b/include/types.h index 09b45ad..bd5b53d 100644 --- a/include/types.h +++ b/include/types.h @@ -31,8 +31,5 @@ #endif typedef int near_bool_t; -typedef unsigned char near_uint8_t; -typedef unsigned short near_uint16_t; -typedef unsigned int near_uint32_t; #endif -- cgit v1.2.3