summaryrefslogtreecommitdiffstats
path: root/firmware/include/buflib.h
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2014-12-27 01:38:11 +0100
committerThomas Jarosch <tomj@simonv.com>2014-12-27 01:38:11 +0100
commit91f1393f756e61820842f5d63bede89de907de59 (patch)
tree6194e6929e28b5eb065c52534b89352ff7265508 /firmware/include/buflib.h
parentce94c3ed86f234b79fd3aa5fd50346fff09697a1 (diff)
downloadrockbox-91f1393f756e61820842f5d63bede89de907de59.tar.gz
rockbox-91f1393f756e61820842f5d63bede89de907de59.zip
Fix typos in documentation
Change-Id: I3c7e204bcf67bf0004314fe4b2aec98cae145273
Diffstat (limited to 'firmware/include/buflib.h')
-rw-r--r--firmware/include/buflib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/include/buflib.h b/firmware/include/buflib.h
index 1bae3e7a3f..397d0f68de 100644
--- a/firmware/include/buflib.h
+++ b/firmware/include/buflib.h
@@ -146,7 +146,7 @@ struct buflib_callbacks {
* function. It's should be considered opaque, even though it is not yet
* (that's to make inlining core_get_data() possible). The documentation
* of the other functions will not describe the context
- * instance paramter further as it's obligatory.
+ * instance parameter further as it's obligatory.
*
* context: The new buflib instance to be initialized, allocated by the caller
* size: The size of the memory pool
@@ -221,7 +221,7 @@ int buflib_alloc_ex(struct buflib_context *ctx, size_t size, const char *name,
* this function.
*
* Note that this might return many more bytes than buflib_available() or
- * buflib_allocatable() return, because it agressively compacts the pool
+ * buflib_allocatable() return, because it aggressively compacts the pool
* and even shrinks other allocations. However, do not depend on this behavior,
* it may change.
*
@@ -286,7 +286,7 @@ int buflib_free(struct buflib_context *context, int handle);
/**
* Moves the underlying buflib buffer up by size bytes (as much as
* possible for size == 0) without moving the end. This effectively
- * reduces the available space by taking away managable space from the
+ * reduces the available space by taking away manageable space from the
* front. This space is not available for new allocations anymore.
*
* To make space available in the front, everything is moved up.
@@ -337,7 +337,7 @@ void buflib_print_allocs(struct buflib_context *ctx, void (*print)(int, const ch
/**
* Prints an overview of all blocks in the buflib buffer, allocated
- * or unallocated, with the help pf the passted printer helper
+ * or unallocated, with the help of the passed printer helper
*
* This walks the entire buffer and prints unallocated space also.
* The output is also different from buflib_print_allocs().