aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-11-29 22:12:19 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-11-29 22:12:19 +0000
commite44be671ff4ea2d2dcb4e5a31feacb94d2684ed6 (patch)
treebd2c5247894aaf7f59a01bf47ec9929407e3f8aa /docs
parent5f1dd9986842282987218d6fdfce6aa5303c51d6 (diff)
downloadbusybox-w32-e44be671ff4ea2d2dcb4e5a31feacb94d2684ed6.tar.gz
busybox-w32-e44be671ff4ea2d2dcb4e5a31feacb94d2684ed6.tar.bz2
busybox-w32-e44be671ff4ea2d2dcb4e5a31feacb94d2684ed6.zip
Moar Speling fickes frum Larry Doolittle
git-svn-id: svn://busybox.net/trunk/busybox@1348 69ca8d6d-28ef-0310-b511-8ec308f3f277
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