diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-19 15:22:33 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-19 18:51:03 +0100 |
commit | 31078e083933c3873bfebc1c9f59c019061b85d9 (patch) | |
tree | d3cbc62f547cd97cb18e7675437ff69048c284e1 | |
parent | 3ac63c6388cf022de7c1de15fe4933ac155e84d7 (diff) | |
download | barebox-31078e083933c3873bfebc1c9f59c019061b85d9.tar.gz barebox-31078e083933c3873bfebc1c9f59c019061b85d9.tar.xz |
net: let net_udp_get_payload return void *
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index d0f8341023..10267933c8 100644 --- a/include/net.h +++ b/include/net.h @@ -415,7 +415,7 @@ static inline int net_udp_bind(struct net_connection *con, int sport) return 0; } -static inline unsigned char *net_udp_get_payload(struct net_connection *con) +static inline void *net_udp_get_payload(struct net_connection *con) { return con->packet + sizeof(struct ethernet) + sizeof(struct iphdr) + sizeof(struct udphdr); |