diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-29 22:12:19 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-29 22:12:19 +0000 |
commit | 0730943b49923af8f113705e4c99bd2a34fa1dee (patch) | |
tree | bd2c5247894aaf7f59a01bf47ec9929407e3f8aa /docs | |
parent | 20ea5c335291012bef0529fb1ef3a579a9b10940 (diff) | |
download | busybox-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.txt | 6 |
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 | ||
359 | A note on the 'cosmetic' case: Output differences might be considered | 359 | A note on the 'cosmetic' case: Output differences might be considered |
360 | cosmetic, but if the output is significant enough to break other scripts that | 360 | cosmetic, but if the output is significant enough to break other scripts that |
@@ -367,7 +367,7 @@ Scope | |||
367 | If a const variable is used only in a single source file, put it in the source | 367 | If a const variable is used only in a single source file, put it in the source |
368 | file and not in a header file. Likewise, if a const variable is used in only | 368 | file and not in a header file. Likewise, if a const variable is used in only |
369 | one function, do not make it global to the file. Instead, declare it inside | 369 | one function, do not make it global to the file. Instead, declare it inside |
370 | the function body. Bottom line: Make a concious effort to limit declarations | 370 | the function body. Bottom line: Make a conscious effort to limit declarations |
371 | to the smallest scope possible. | 371 | to the smallest scope possible. |
372 | 372 | ||
373 | Inside applet files, all functions should be declared static so as to keep the | 373 | 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: | |||
434 | .... | 434 | .... |
435 | 435 | ||
436 | The only time you would ever need to use the old declaration syntax is to | 436 | The only time you would ever need to use the old declaration syntax is to |
437 | support ancient, antedeluvian compilers. To our good fortune, we have access | 437 | support ancient, antediluvian compilers. To our good fortune, we have access |
438 | to more modern compilers and the old declaration syntax is neither necessary | 438 | to more modern compilers and the old declaration syntax is neither necessary |
439 | nor desired. | 439 | nor desired. |
440 | 440 | ||