summaryrefslogtreecommitdiff
path: root/HACKING.txt
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2010-10-05 22:07:09 +0200
committerJoel Rosdahl <joel@rosdahl.net>2010-10-05 22:07:09 +0200
commit7aefc5d24ae5988e989d8ad5f715e36df484a77b (patch)
tree89e292d34d3ad5e58d705c4dc49df6831a62b401 /HACKING.txt
parent12715a28b2d163533f5e765e0d68d0d71880820a (diff)
downloadccache-7aefc5d24ae5988e989d8ad5f715e36df484a77b.tar.gz
Fix spelling and grammar in HACKING.txt
Diffstat (limited to 'HACKING.txt')
-rw-r--r--HACKING.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING.txt b/HACKING.txt
index e0fbe768..43ff89e9 100644
--- a/HACKING.txt
+++ b/HACKING.txt
@@ -14,14 +14,14 @@ Code formatting
* If possible, keep lines at most 80 character wide for a 2 character tab
width.
* Use only lowercase names for functions and variables.
-* Use only uppercase names for enum items and (with some exceptins) macros.
+* Use only uppercase names for enum items and (with some exceptions) macros.
* Don't use typedefs for structs and enums.
Idioms
------
* Use NULL to initialize null pointers.
-* Don't use NULL to compare null pointers.
+* Don't use NULL when comparing pointers.
* Use format(), x_malloc() and friends instead of checking for memory
allocation failure explicitly.
* Use str_eq() instead of strcmp() when testing for string (in)equality.