From edbae757056bdca7378af0074193a7782988208f Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Thu, 28 Feb 2008 21:25:34 +0000 Subject: [PATCH] Stick to CC_INLINE. --- core/net/rime/chameleon-bitopt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/net/rime/chameleon-bitopt.c b/core/net/rime/chameleon-bitopt.c index ec0269a81..cd95cc527 100644 --- a/core/net/rime/chameleon-bitopt.c +++ b/core/net/rime/chameleon-bitopt.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: chameleon-bitopt.c,v 1.1 2008/02/25 02:14:34 adamdunkels Exp $ + * $Id: chameleon-bitopt.c,v 1.2 2008/02/28 21:25:34 oliverschmidt Exp $ */ /** @@ -60,7 +60,7 @@ static const uint8_t bitmask[9] = { 0x00, 0x80, 0xc0, 0xe0, 0xf0, #endif /*---------------------------------------------------------------------------*/ -uint8_t inline +uint8_t CC_INLINE get_bits_in_byte(uint8_t *from, int bitpos, int vallen) { uint16_t shifted_val; @@ -132,7 +132,7 @@ header_size(const struct rimebuf_attrlist *a) return size; } /*---------------------------------------------------------------------------*/ -void inline +void CC_INLINE set_bits_in_byte(uint8_t *target, int bitpos, uint8_t val, int vallen) { unsigned short shifted_val;