Hi,
the attached patch fixes two small erros in the documentation for the fixed
size memory pool.
Please apply
Alex
--
Work: [EMAIL PROTECTED] - http://www.jenoptik-los.de
Home: [EMAIL PROTECTED] - http://www.kde.org
[EMAIL PROTECTED] - http://www.neundorf.net
? memalloc.sgml.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/ChangeLog,v
retrieving revision 1.37
diff -b -u -p -r1.37 ChangeLog
--- ChangeLog 3 Aug 2005 20:45:09 -0000 1.37
+++ ChangeLog 29 Sep 2005 21:12:12 -0000
@@ -1,3 +1,6 @@
+2005-09-30 Alexander Neundorf <[EMAIL PROTECTED]>
+ * doc/memalloc.sgml: two minor fixes
+
2005-07-30 Andrew Lunn <[EMAIL PROTECTED]>
* tests/heaptest.c (test_pat): Casts to prevent compiler warnings.
Index: doc/memalloc.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/doc/memalloc.sgml,v
retrieving revision 1.2
diff -b -u -p -r1.2 memalloc.sgml
--- doc/memalloc.sgml 7 Jun 2005 13:31:12 -0000 1.2
+++ doc/memalloc.sgml 29 Sep 2005 21:12:12 -0000
@@ -203,7 +203,7 @@ typedef struct {
<paramdef>cyg_uint32 <parameter>size</parameter></paramdef>
<paramdef>cyg_uint32 <parameter>blocksize</parameter></paramdef>
<paramdef>cyg_handle_t* <parameter>fixpool</parameter></paramdef>
- <paramdef>cyg_mempool_var* <parameter>var</parameter></paramdef>
+ <paramdef>cyg_mempool_fix* <parameter>fix</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>void <function>cyg_mempool_fix_delete</function></funcdef>
@@ -245,7 +245,7 @@ typedef struct {
The fixed size memory pool functions are used for allocating
blocks of the same size. The allocation and free functions are
more efficient than the variable size pools, but are naturally
- limited to being only able to allocate blocks of a sized
+ limited to being only able to allocate blocks of a fixed
size. Before memory can be allocated the pool must first be
created by calling
<function>cyg_mempool_fix_create()</function>.