aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-29 22:12:19 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-29 22:12:19 +0000
commit0730943b49923af8f113705e4c99bd2a34fa1dee (patch)
treebd2c5247894aaf7f59a01bf47ec9929407e3f8aa /docs
parent20ea5c335291012bef0529fb1ef3a579a9b10940 (diff)
downloadbusybox-w32-0730943b49923af8f113705e4c99bd2a34fa1dee.tar.gz
busybox-w32-0730943b49923af8f113705e4c99bd2a34fa1dee.tar.bz2
busybox-w32-0730943b49923af8f113705e4c99bd2a34fa1dee.zip
Moar Speling fickes frum Larry Doolittle
Diffstat (limited to 'docs')
-rw-r--r--docs/style-guide.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt
index 9ea236024..4d0c7ca17 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:
354 switch) 354 switch)
355 - Emulating the GNU behavior is prohibitively expensive (lots more code 355 - Emulating the GNU behavior is prohibitively expensive (lots more code
356 would be required, lots more memory would be used, etc.) 356 would be required, lots more memory would be used, etc.)
357 - The differce is minor or cosmetic 357 - The difference is minor or cosmetic
358 358
359A note on the 'cosmetic' case: Output differences might be considered 359A note on the 'cosmetic' case: Output differences might be considered
360cosmetic, but if the output is significant enough to break other scripts that 360cosmetic, but if the output is significant enough to break other scripts that
@@ -367,7 +367,7 @@ Scope
367If a const variable is used only in a single source file, put it in the source 367If a const variable is used only in a single source file, put it in the source
368file and not in a header file. Likewise, if a const variable is used in only 368file and not in a header file. Likewise, if a const variable is used in only
369one function, do not make it global to the file. Instead, declare it inside 369one function, do not make it global to the file. Instead, declare it inside
370the function body. Bottom line: Make a concious effort to limit declarations 370the function body. Bottom line: Make a conscious effort to limit declarations
371to the smallest scope possible. 371to the smallest scope possible.
372 372
373Inside applet files, all functions should be declared static so as to keep the 373Inside applet files, all functions should be declared static so as to keep the
@@ -434,7 +434,7 @@ the parameter list and opening bracket. Example:
434 .... 434 ....
435 435
436The only time you would ever need to use the old declaration syntax is to 436The only time you would ever need to use the old declaration syntax is to
437support ancient, antedeluvian compilers. To our good fortune, we have access 437support ancient, antediluvian compilers. To our good fortune, we have access
438to more modern compilers and the old declaration syntax is neither necessary 438to more modern compilers and the old declaration syntax is neither necessary
439nor desired. 439nor desired.
440 440