From feed6cf6799e56907584a82b0468bdb3b61bb920 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Thu, 25 Oct 2007 12:48:46 +0000 Subject: [PATCH] const parameter to rimbuef_copyfrom() --- core/net/rime/rimebuf.c | 4 ++-- core/net/rime/rimebuf.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/net/rime/rimebuf.c b/core/net/rime/rimebuf.c index 02ca972ad..0643f358a 100644 --- a/core/net/rime/rimebuf.c +++ b/core/net/rime/rimebuf.c @@ -33,7 +33,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rimebuf.c,v 1.8 2007/03/31 18:31:28 adamdunkels Exp $ + * $Id: rimebuf.c,v 1.9 2007/10/25 12:48:46 adamdunkels Exp $ */ /** @@ -75,7 +75,7 @@ rimebuf_clear(void) } /*---------------------------------------------------------------------------*/ int -rimebuf_copyfrom(u8_t *from, u16_t len) +rimebuf_copyfrom(const u8_t *from, u16_t len) { u16_t l; diff --git a/core/net/rime/rimebuf.h b/core/net/rime/rimebuf.h index dcc353391..08f49414a 100644 --- a/core/net/rime/rimebuf.h +++ b/core/net/rime/rimebuf.h @@ -40,7 +40,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rimebuf.h,v 1.9 2007/05/15 08:09:21 adamdunkels Exp $ + * $Id: rimebuf.h,v 1.10 2007/10/25 12:48:46 adamdunkels Exp $ */ /** @@ -232,7 +232,7 @@ void rimebuf_compact(void); * copied into the rimbuf is returned. * */ -int rimebuf_copyfrom(u8_t *from, u16_t len); +int rimebuf_copyfrom(const u8_t *from, u16_t len); /** * \brief Copy the entire rimebuf to an external buffer