diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-11-29 22:12:19 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-11-29 22:12:19 +0000 |
commit | e44be671ff4ea2d2dcb4e5a31feacb94d2684ed6 (patch) | |
tree | bd2c5247894aaf7f59a01bf47ec9929407e3f8aa /docs | |
parent | 5f1dd9986842282987218d6fdfce6aa5303c51d6 (diff) | |
download | busybox-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.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 | ||