diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-04-30 00:33:33 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-10-20 23:54:02 -0700 |
commit | 2632b38ef665a93138dcfba7f0688c03c970d6ce (patch) | |
tree | 3474fea2b4746e219d2d330febe0410c748f3b42 /include | |
parent | 5574de0253f4efaded9590b96043a09c4233e220 (diff) | |
download | neard-2632b38ef665a93138dcfba7f0688c03c970d6ce.tar.gz neard-2632b38ef665a93138dcfba7f0688c03c970d6ce.tar.bz2 neard-2632b38ef665a93138dcfba7f0688c03c970d6ce.zip |
Use stdint types
Diffstat (limited to 'include')
-rw-r--r-- | include/tag.h | 6 | ||||
-rw-r--r-- | include/types.h | 3 |
2 files changed, 4 insertions, 5 deletions
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 <stdint.h> + #include <glib.h> #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 |