summaryrefslogtreecommitdiff
path: root/src/lzfP.h
diff options
context:
space:
mode:
authorguiquanz <nantangguyun@gmail.com>2013-01-17 01:00:20 +0800
committerantirez <antirez@gmail.com>2013-01-19 10:59:44 +0100
commit9d09ce3981deb58282ae47c87e1080936f04991f (patch)
treefe509226486b33679d202c457b50c2ac99621a9d /src/lzfP.h
parent61dfc2e5217361b21258ae0cc408e9b719c8565e (diff)
downloadredis-9d09ce3981deb58282ae47c87e1080936f04991f.tar.gz
Fixed many typos.
Diffstat (limited to 'src/lzfP.h')
-rw-r--r--src/lzfP.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lzfP.h b/src/lzfP.h
index d533f1829..10d804e04 100644
--- a/src/lzfP.h
+++ b/src/lzfP.h
@@ -93,7 +93,7 @@
/*
* Avoid assigning values to errno variable? for some embedding purposes
- * (linux kernel for example), this is neccessary. NOTE: this breaks
+ * (linux kernel for example), this is necessary. NOTE: this breaks
* the documentation in lzf.h.
*/
#ifndef AVOID_ERRNO
@@ -101,7 +101,7 @@
#endif
/*
- * Wether to pass the LZF_STATE variable as argument, or allocate it
+ * Whether to pass the LZF_STATE variable as argument, or allocate it
* on the stack. For small-stack environments, define this to 1.
* NOTE: this breaks the prototype in lzf.h.
*/
@@ -110,11 +110,11 @@
#endif
/*
- * Wether to add extra checks for input validity in lzf_decompress
+ * Whether to add extra checks for input validity in lzf_decompress
* and return EINVAL if the input stream has been corrupted. This
* only shields against overflowing the input buffer and will not
* detect most corrupted streams.
- * This check is not normally noticable on modern hardware
+ * This check is not normally noticeable on modern hardware
* (<1% slowdown), but might slow down older cpus considerably.
*/
#ifndef CHECK_INPUT