]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix spelling and grammar in HACKING.txt
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 5 Oct 2010 20:07:09 +0000 (22:07 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 5 Oct 2010 20:07:09 +0000 (22:07 +0200)
HACKING.txt

index e0fbe7685b7ff81b6658d5a142a1c37cf5127380..43ff89e9c9c1d3c7fd878168b5ddf7da480a7b9c 100644 (file)
@@ -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.