diff options
author | Eric Andersen | 2000-11-29 22:12:19 +0000 |
---|---|---|
committer | Eric Andersen | 2000-11-29 22:12:19 +0000 |
commit | 0730943b49923af8f113705e4c99bd2a34fa1dee (patch) | |
tree | bd2c5247894aaf7f59a01bf47ec9929407e3f8aa /docs/style-guide.txt | |
parent | 20ea5c335291012bef0529fb1ef3a579a9b10940 (diff) | |
download | busybox-0730943b49923af8f113705e4c99bd2a34fa1dee.zip busybox-0730943b49923af8f113705e4c99bd2a34fa1dee.tar.gz |
Moar Speling fickes frum Larry Doolittle
Diffstat (limited to 'docs/style-guide.txt')
-rw-r--r-- | docs/style-guide.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt index 9ea2360..4d0c7ca 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt @@ -354,7 +354,7 @@ The only time we deviate from emulating the GNU behavior is when: switch) - Emulating the GNU behavior is prohibitively expensive (lots more code would be required, lots more memory would be used, etc.) - - The differce is minor or cosmetic + - The difference is minor or cosmetic A note on the 'cosmetic' case: Output differences might be considered cosmetic, but if the output is significant enough to break other scripts that @@ -367,7 +367,7 @@ Scope If a const variable is used only in a single source file, put it in the source file and not in a header file. Likewise, if a const variable is used in only one function, do not make it global to the file. Instead, declare it inside -the function body. Bottom line: Make a concious effort to limit declarations +the function body. Bottom line: Make a conscious effort to limit declarations to the smallest scope possible. Inside applet files, all functions should be declared static so as to keep the @@ -434,7 +434,7 @@ the parameter list and opening bracket. Example: .... The only time you would ever need to use the old declaration syntax is to -support ancient, antedeluvian compilers. To our good fortune, we have access +support ancient, antediluvian compilers. To our good fortune, we have access to more modern compilers and the old declaration syntax is neither necessary nor desired. |