* Constness, voidness.
This commit is contained in:
parent
1c3ac47557
commit
b2bc97ddba
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* 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
|
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_udp_conn = c;
|
||||||
uip_slen = len;
|
uip_slen = len;
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* 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"
|
#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__ */
|
#endif /* __UIP_UDP_PACKET_H__ */
|
||||||
|
|
Loading…
Reference in a new issue