from address is const

This commit is contained in:
adamdunkels 2009-03-24 14:44:42 +00:00
parent 759ecbd73c
commit ecb7641ca7

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: shell-rime-ping.c,v 1.7 2009/03/12 21:58:20 adamdunkels Exp $ * $Id: shell-rime-ping.c,v 1.8 2009/03/24 14:44:42 adamdunkels Exp $
*/ */
/** /**
@ -122,7 +122,7 @@ sent_mesh(struct mesh_conn *c)
{ {
} }
static void static void
recv_mesh(struct mesh_conn *c, rimeaddr_t *from, u8_t hops) recv_mesh(struct mesh_conn *c, const rimeaddr_t *from, u8_t hops)
{ {
struct rime_ping_msg *ping; struct rime_ping_msg *ping;
char buf[64]; char buf[64];