From b2bc97ddba4ec43950b96cd0098c1ed8437dfeec Mon Sep 17 00:00:00 2001 From: bg- Date: Mon, 30 Apr 2007 15:19:21 +0000 Subject: [PATCH] * Constness, voidness. --- core/net/uip-udp-packet.c | 4 ++-- core/net/uip-udp-packet.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/net/uip-udp-packet.c b/core/net/uip-udp-packet.c index ec9897e0a..396b53e17 100644 --- a/core/net/uip-udp-packet.c +++ b/core/net/uip-udp-packet.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: uip-udp-packet.c,v 1.2 2006/09/26 22:12:59 adamdunkels Exp $ + * $Id: uip-udp-packet.c,v 1.3 2007/04/30 15:19:21 bg- Exp $ */ /** @@ -46,7 +46,7 @@ extern u16_t uip_slen; /*---------------------------------------------------------------------------*/ void -uip_udp_packet_send(struct uip_udp_conn *c, char *data, int len) +uip_udp_packet_send(struct uip_udp_conn *c, const void *data, int len) { uip_udp_conn = c; uip_slen = len; diff --git a/core/net/uip-udp-packet.h b/core/net/uip-udp-packet.h index d1af32925..8ab2d3a80 100644 --- a/core/net/uip-udp-packet.h +++ b/core/net/uip-udp-packet.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: uip-udp-packet.h,v 1.1 2006/08/31 09:35:27 adamdunkels Exp $ + * $Id: uip-udp-packet.h,v 1.2 2007/04/30 15:19:53 bg- Exp $ */ /** @@ -43,6 +43,6 @@ #include "net/uip.h" -void uip_udp_packet_send(struct uip_udp_conn *c, char *data, int len); +void uip_udp_packet_send(struct uip_udp_conn *c, const void *data, int len); #endif /* __UIP_UDP_PACKET_H__ */