From 33d7c0badd24dac6232c8fc1826fa75f4d2f9475 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sat, 17 Nov 2007 18:16:48 +0000 Subject: [PATCH] Fixed compiler warnings to make code compile with gcc's -pedantic switch --- examples/sky/tcprudolph0.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/sky/tcprudolph0.c b/examples/sky/tcprudolph0.c index afd0ad2b8..59ca23050 100644 --- a/examples/sky/tcprudolph0.c +++ b/examples/sky/tcprudolph0.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: tcprudolph0.c,v 1.7 2007/04/02 20:02:13 adamdunkels Exp $ + * @(#)$Id: tcprudolph0.c,v 1.8 2007/11/17 18:16:48 adamdunkels Exp $ */ #include @@ -198,7 +198,7 @@ PT_THREAD(recv_tcpthread(struct pt *pt)) /*---------------------------------------------------------------------*/ static void write_chunk(struct rudolph0_conn *c, int offset, int flag, - char *data, int datalen) + uint8_t *data, int datalen) { int fd; @@ -234,7 +234,7 @@ write_chunk(struct rudolph0_conn *c, int offset, int flag, } } static int -read_chunk(struct rudolph0_conn *c, int offset, char *to, int maxsize) +read_chunk(struct rudolph0_conn *c, int offset, uint8_t *to, int maxsize) { int fd; int ret; @@ -304,8 +304,8 @@ dummy(void) /* Make sure that all Rime modules are present in the core */ tree_close(NULL); mesh_close(NULL); - uibc_close(NULL); - uabc_close(NULL); + ipolite_close(NULL); + polite_close(NULL); ruc_close(NULL); sibc_close(NULL); rudolph0_close(NULL);