Changed all occurences of u8_t and u16_t to uint8_t and uint16_t

This commit is contained in:
adamdunkels 2008-02-24 22:05:27 +00:00
parent 17f13e38e8
commit d99ca27820
47 changed files with 222 additions and 222 deletions

View file

@ -33,7 +33,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: mesh.c,v 1.12 2008/02/05 20:16:48 adamdunkels Exp $
* $Id: mesh.c,v 1.13 2008/02/24 22:05:27 adamdunkels Exp $
*/
/**
@ -63,7 +63,7 @@
/*---------------------------------------------------------------------------*/
static void
data_packet_received(struct mh_conn *mh, rimeaddr_t *from,
rimeaddr_t *prevhop, u8_t hops)
rimeaddr_t *prevhop, uint8_t hops)
{
struct mesh_conn *c = (struct mesh_conn *)
((char *)mh - offsetof(struct mesh_conn, mh));
@ -75,7 +75,7 @@ data_packet_received(struct mh_conn *mh, rimeaddr_t *from,
/*---------------------------------------------------------------------------*/
static rimeaddr_t *
data_packet_forward(struct mh_conn *mh, rimeaddr_t *originator,
rimeaddr_t *dest, rimeaddr_t *prevhop, u8_t hops)
rimeaddr_t *dest, rimeaddr_t *prevhop, uint8_t hops)
{
struct route_entry *rt;
@ -125,7 +125,7 @@ static const struct route_discovery_callbacks route_discovery_callbacks =
{ found_route, route_timed_out };
/*---------------------------------------------------------------------------*/
void
mesh_open(struct mesh_conn *c, u16_t channels,
mesh_open(struct mesh_conn *c, uint16_t channels,
const struct mesh_callbacks *callbacks)
{
mh_open(&c->mh, channels, &data_callbacks);