projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
382a05f
)
libubus: use explicit type name in ubus_msghdr_data instead of typeof()
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jul 2014 18:58:37 +0000
(20:58 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jul 2014 18:58:37 +0000
(20:58 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-internal.h
patch
|
blob
|
history
diff --git
a/libubus-internal.h
b/libubus-internal.h
index f6d850f17f60b8ed99a3977d564fc138d1eeb89a..0eddf9e1b382a03fa0e36068009abc9ff8b110b0 100644
(file)
--- a/
libubus-internal.h
+++ b/
libubus-internal.h
@@
-20,7
+20,7
@@
extern const struct ubus_method watch_method;
static inline struct blob_attr *
ubus_msghdr_data(struct ubus_msghdr *hdr)
{
- struct ubus_msghdr_buf *hdrbuf = container_of(hdr,
typeof(*hdrbuf)
, hdr);
+ struct ubus_msghdr_buf *hdrbuf = container_of(hdr,
struct ubus_msghdr_buf
, hdr);
return hdrbuf->data;
}