]> wimlib.net Git - wimlib/blobdiff - include/wimlib/lzx.h
Remove duplicate words & fix grammatical errors
[wimlib] / include / wimlib / lzx.h
index 28408b328dc56695746aff83954c596618d4e923..1f4c1e3f9b77b5acf202dc40b6e2334fca67d2d0 100644 (file)
@@ -95,7 +95,7 @@
 extern const u8 lzx_extra_bits[LZX_MAX_POSITION_SLOTS];
 #endif
 
-/* Given the number of a LZX position slot, return the number of extra bits that
+/* Given the number of an LZX position slot, return the number of extra bits that
  * are needed to encode the match offset. */
 static inline unsigned
 lzx_get_num_extra_bits(unsigned position_slot)
@@ -148,6 +148,8 @@ struct lzx_lru_queue {
  * as (n + LZX_OFFSET_OFFSET).  */
 #define LZX_OFFSET_OFFSET      (LZX_NUM_RECENT_OFFSETS - 1)
 
+/* Initialize the LZX least-recently-used match offset queue at the beginning of
+ * a new window for either decompression or compression.  */
 static inline void
 lzx_lru_queue_init(struct lzx_lru_queue *queue)
 {