* Constness, voidness.

This commit is contained in:
bg- 2007-04-30 15:19:21 +00:00
parent 1c3ac47557
commit b2bc97ddba
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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__ */