aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/liblzma/api/lzma/base.h4
-rw-r--r--src/liblzma/api/lzma/memlimit.h10
-rw-r--r--src/liblzma/api/lzma/stream.h4
3 files changed, 9 insertions, 9 deletions
diff --git a/src/liblzma/api/lzma/base.h b/src/liblzma/api/lzma/base.h
index e7edf531..d39bfe95 100644
--- a/src/liblzma/api/lzma/base.h
+++ b/src/liblzma/api/lzma/base.h
@@ -265,8 +265,8 @@ typedef struct {
* custom memory allocation functions for use with liblzma.
*
* When using lzma_memory_alloc() and lzma_memory_free(), opaque
- * must point to lzma_memory_limitter structure allocated and
- * initialized with lzma_memory_limitter_create().
+ * must point to lzma_memory_limiter structure allocated and
+ * initialized with lzma_memory_limiter_create().
*
* If you don't need this, you should set it to NULL.
*/
diff --git a/src/liblzma/api/lzma/memlimit.h b/src/liblzma/api/lzma/memlimit.h
index c0449f2b..6b07679d 100644
--- a/src/liblzma/api/lzma/memlimit.h
+++ b/src/liblzma/api/lzma/memlimit.h
@@ -1,6 +1,6 @@
/**
* \file lzma/memlimit.h
- * \brief Memory usage limitter
+ * \brief Memory usage limiter
*
* \author Copyright (C) 1999-2006 Igor Pavlov
* \author Copyright (C) 2007 Lasse Collin
@@ -39,7 +39,7 @@ typedef struct lzma_memlimit_s lzma_memlimit;
* to these functions can be used in lzma_allocator structure, which makes
* it easy to limit memory usage with liblzma.
*
- * The memory limitter functions are not tied to limitting memory usage
+ * The memory limiter functions are not tied to limitting memory usage
* with liblzma itself. You can use them with anything you like.
*
* In multi-threaded applications, only one thread at once may use the same
@@ -128,7 +128,7 @@ extern lzma_bool lzma_memlimit_reached(lzma_memlimit *mem, lzma_bool clear);
/**
- * \brief Gets the number of allocations owned by the memory limitter
+ * \brief Gets the number of allocations owned by the memory limiter
*
* The count does not include the helper structures; if no memory has
* been allocated with lzma_memlimit_alloc() or all memory allocated
@@ -189,9 +189,9 @@ extern void lzma_memlimit_free(lzma_memlimit *mem, void *ptr);
/**
- * \brief Frees the memory allocated for and by the memory usage limitter
+ * \brief Frees the memory allocated for and by the memory usage limiter
*
- * \param mem Pointer to memory limitter
+ * \param mem Pointer to memory limiter
* \param free_allocated If this is non-zero, all the memory allocated
* by lzma_memlimit_alloc() using *mem is also
* freed if it hasn't already been freed with
diff --git a/src/liblzma/api/lzma/stream.h b/src/liblzma/api/lzma/stream.h
index d111be37..346bdd17 100644
--- a/src/liblzma/api/lzma/stream.h
+++ b/src/liblzma/api/lzma/stream.h
@@ -169,8 +169,8 @@ extern lzma_ret lzma_stream_encoder_multi(
* completely when lzma_code() returns LZMA_STREAM_END. If *footer is still
* NULL, there was no Extra field in the Footer Metadata Block.
*
- * \note If you use lzma_memory_limitter, the Extra Records will be
- * allocated with it, and thus remain in the lzma_memory_limitter
+ * \note If you use lzma_memory_limiter, the Extra Records will be
+ * allocated with it, and thus remain in the lzma_memory_limiter
* even after they get exported to the application via *header
* and *footer pointers.
*/