From 0a6ae9b7aaed1e089149365157c23fb45a2a1ea7 Mon Sep 17 00:00:00 2001 From: nvt-se Date: Wed, 15 Oct 2008 14:17:28 +0000 Subject: [PATCH] fixed documentation typos --- core/lib/crc16.h | 6 +++--- core/lib/libconio.h | 4 ++-- core/lib/list.h | 4 ++-- core/lib/memb.h | 10 +++++----- core/lib/mmem.h | 4 ++-- core/lib/strncasecmp.c | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/core/lib/crc16.h b/core/lib/crc16.h index 2cea147b4..1153a0c9e 100644 --- a/core/lib/crc16.h +++ b/core/lib/crc16.h @@ -2,12 +2,12 @@ * @{ */ /** - * \defgroup crc16 Cyclic Redundancy Check 16 (CRC16) calculcation + * \defgroup crc16 Cyclic Redundancy Check 16 (CRC16) calculation * * The Cyclic Redundancy Check 16 is a hash function that produces a * checksum that is used to detect errors in transmissions. The CRC16 * calculation module is an iterative CRC calculator that can be used - * to cummulatively update a CRC checksum for every incoming byte. + * to cumulatively update a CRC checksum for every incoming byte. * * @{ */ @@ -50,7 +50,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: crc16.h,v 1.3 2008/08/26 21:46:07 adamdunkels Exp $ + * @(#)$Id: crc16.h,v 1.4 2008/10/15 14:17:28 nvt-se Exp $ */ #ifndef __CRC16_H__ #define __CRC16_H__ diff --git a/core/lib/libconio.h b/core/lib/libconio.h index 5adf1f37b..53bc85be0 100644 --- a/core/lib/libconio.h +++ b/core/lib/libconio.h @@ -29,7 +29,7 @@ * * This file is part of the Contiki desktop environment * - * $Id: libconio.h,v 1.1 2006/06/17 22:41:17 adamdunkels Exp $ + * $Id: libconio.h,v 1.2 2008/10/15 14:17:28 nvt-se Exp $ * */ @@ -37,7 +37,7 @@ #define __LIBCONIO_H__ /* This function must be implemented specifically for the - architecure: */ + architecture: */ void ctk_arch_draw_char(char c, unsigned char xpos, unsigned char ypos, diff --git a/core/lib/list.h b/core/lib/list.h index 8925429f2..bfd77f9cd 100644 --- a/core/lib/list.h +++ b/core/lib/list.h @@ -17,7 +17,7 @@ * either sides of the list (list_push(), list_add(), list_pop(), * list_chop()). A specified element can also be removed from inside a * list with list_remove(). The head and tail of a list can be - * extracted using list_head() and list_tail(), respecitively. + * extracted using list_head() and list_tail(), respectively. * * @{ */ @@ -64,7 +64,7 @@ * * Author: Adam Dunkels * - * $Id: list.h,v 1.1 2006/06/17 22:41:18 adamdunkels Exp $ + * $Id: list.h,v 1.2 2008/10/15 14:17:28 nvt-se Exp $ */ #ifndef __LIST_H__ #define __LIST_H__ diff --git a/core/lib/memb.h b/core/lib/memb.h index 7957be320..6e6805740 100644 --- a/core/lib/memb.h +++ b/core/lib/memb.h @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: memb.h,v 1.4 2008/01/14 09:22:50 adamdunkels Exp $ + * $Id: memb.h,v 1.5 2008/10/15 14:17:28 nvt-se Exp $ */ /** @@ -69,7 +69,7 @@ /** * Declare a memory block. * - * This macro is used to staticall declare a block of memory that can + * This macro is used to statically declare a block of memory that can * be used by the block allocation functions. The macro statically * declares a C array with a size that matches the specified number of * blocks and their individual sizes. @@ -104,14 +104,14 @@ struct memb_blocks { /** * Initialize a memory block that was declared with MEMB(). * - * \param m A memory block previosly declared with MEMB(). + * \param m A memory block previously declared with MEMB(). */ void memb_init(struct memb_blocks *m); /** * Allocate a memory block from a block of memory declared with MEMB(). * - * \param m A memory block previosly declared with MEMB(). + * \param m A memory block previously declared with MEMB(). */ void *memb_alloc(struct memb_blocks *m); @@ -119,7 +119,7 @@ void *memb_alloc(struct memb_blocks *m); * Deallocate a memory block from a memory block previously declared * with MEMB(). * - * \param m m A memory block previosly declared with MEMB(). + * \param m m A memory block previously declared with MEMB(). * * \param ptr A pointer to the memory block that is to be deallocated. * diff --git a/core/lib/mmem.h b/core/lib/mmem.h index 3b427fb78..8735c2d70 100644 --- a/core/lib/mmem.h +++ b/core/lib/mmem.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: mmem.h,v 1.1 2006/06/17 22:41:18 adamdunkels Exp $ + * @(#)$Id: mmem.h,v 1.2 2008/10/15 14:17:28 nvt-se Exp $ */ /** * \addtogroup mem @@ -65,7 +65,7 @@ * \brief Get a pointer to the managed memory * \param m A pointer to the struct mmem * \return A pointer to the memory block, or NULL if memory could - * not be allcated. + * not be allocated. * \author Adam Dunkels * * This macro is used to get a pointer to a memory block diff --git a/core/lib/strncasecmp.c b/core/lib/strncasecmp.c index 4455f3278..b280cde43 100644 --- a/core/lib/strncasecmp.c +++ b/core/lib/strncasecmp.c @@ -29,11 +29,11 @@ * * This file is part of the Contiki desktop environment for the C64. * - * $Id: strncasecmp.c,v 1.1 2006/06/17 22:41:18 adamdunkels Exp $ + * $Id: strncasecmp.c,v 1.2 2008/10/15 14:17:28 nvt-se Exp $ * */ -/* This file contains a naive and non-stanrdards compliant +/* This file contains a naive and non-standards compliant implementation of strncasecmp() for systems that don't implement the function. It works with Contiki, but should most probably not be used anywhere else.