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:15:46 +00:00
parent 974870359a
commit ad2a8e5e97
5 changed files with 11 additions and 11 deletions

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: example-collect.c,v 1.1 2008/01/25 18:00:50 adamdunkels Exp $ * $Id: example-collect.c,v 1.2 2008/02/24 22:15:46 adamdunkels Exp $
*/ */
/** /**
@ -86,7 +86,7 @@ PROCESS_THREAD(depth_blink_process, ev, data)
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
static void static void
recv(rimeaddr_t *originator, u8_t seqno, u8_t hops) recv(rimeaddr_t *originator, uint8_t seqno, uint8_t hops)
{ {
printf("Sink got message from %d.%d, seqno %d, hops %d: len %d '%s'\n", printf("Sink got message from %d.%d, seqno %d, hops %d: len %d '%s'\n",
originator->u8[0], originator->u8[1], originator->u8[0], originator->u8[1],

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: example-mh.c,v 1.1 2008/01/25 18:00:50 adamdunkels Exp $ * $Id: example-mh.c,v 1.2 2008/02/24 22:15:46 adamdunkels Exp $
*/ */
/** /**
@ -57,7 +57,7 @@ recv(struct mh_conn *c, rimeaddr_t *sender)
} }
static rimeaddr_t * static rimeaddr_t *
forward(struct mh_conn *c, rimeaddr_t *originator, rimeaddr_t *dest, forward(struct mh_conn *c, rimeaddr_t *originator, rimeaddr_t *dest,
rimeaddr_t *prevhop, u8_t hops) rimeaddr_t *prevhop, uint8_t hops)
{ {
printf("Forwarding message '%s'\n", (char *)rimebuf_dataptr()); printf("Forwarding message '%s'\n", (char *)rimebuf_dataptr());
return NULL; return NULL;

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: example-rudolph1.c,v 1.1 2008/01/25 18:00:51 adamdunkels Exp $ * $Id: example-rudolph1.c,v 1.2 2008/02/24 22:15:46 adamdunkels Exp $
*/ */
/** /**
@ -139,7 +139,7 @@ static void
log_queuelen(struct rtimer *t, void *ptr) log_queuelen(struct rtimer *t, void *ptr)
{ {
#if NETSIM #if NETSIM
extern u8_t queuebuf_len, queuebuf_ref_len; extern uint8_t queuebuf_len, queuebuf_ref_len;
node_log("%d %d\n", node_log("%d %d\n",
queuebuf_len, queuebuf_len,
queuebuf_ref_len); queuebuf_ref_len);

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: sky-collect.c,v 1.2 2008/01/08 08:05:34 adamdunkels Exp $ * $Id: sky-collect.c,v 1.3 2008/02/24 22:16:32 adamdunkels Exp $
*/ */
/** /**
@ -164,7 +164,7 @@ do_rssi(void)
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
static void static void
recv(rimeaddr_t *originator, u8_t seqno, u8_t hops) recv(rimeaddr_t *originator, uint8_t seqno, uint8_t hops)
{ {
struct sky_collect_msg *msg; struct sky_collect_msg *msg;

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: tcprudolph0.c,v 1.9 2007/12/16 14:37:02 adamdunkels Exp $ * @(#)$Id: tcprudolph0.c,v 1.10 2008/02/24 22:16:32 adamdunkels Exp $
*/ */
#include <stdio.h> #include <stdio.h>
@ -63,8 +63,8 @@ AUTOSTART_PROCESSES(&tcp_loader_process);
static static
struct codeprop_state { struct codeprop_state {
u16_t addr; uint16_t addr;
u16_t len; uint16_t len;
struct pt tcpthread_pt; struct pt tcpthread_pt;
int fd; int fd;
} s; } s;