[PATCH 3/5] net: let net_udp_get_payload return void *

Sascha Hauer s.hauer at pengutronix.de
Sun Feb 19 12:58:06 EST 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/net.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/net.h b/include/net.h
index d0f8341..1026793 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);
-- 
1.7.9




More information about the barebox mailing list