From 932914c1b1ab4b4e94b62c9e6ed9935d4f0b245e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 Feb 2011 21:36:04 +0100 Subject: [PATCH] rename blob_get_int* to blob_get_u* --- blob.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blob.h b/blob.h index 341de27..201f508 100644 --- a/blob.h +++ b/blob.h @@ -175,27 +175,27 @@ blob_set_raw_len(struct blob_attr *attr, unsigned int len) } static inline uint8_t -blob_get_int8(const struct blob_attr *attr) +blob_get_u8(const struct blob_attr *attr) { return *((uint8_t *) attr->data); } static inline uint16_t -blob_get_int16(const struct blob_attr *attr) +blob_get_u16(const struct blob_attr *attr) { uint16_t *tmp = (uint16_t*)attr->data; return be16_to_cpu(*tmp); } static inline uint32_t -blob_get_int32(const struct blob_attr *attr) +blob_get_u32(const struct blob_attr *attr) { uint32_t *tmp = (uint32_t*)attr->data; return be32_to_cpu(*tmp); } static inline uint64_t -blob_get_int64(const struct blob_attr *attr) +blob_get_u64(const struct blob_attr *attr) { uint64_t *tmp = (uint64_t*)attr->data; return be64_to_cpu(*tmp); -- 2.30.2