| ??? 10/31/05 10:53 Read: times |
#103166 - static Responding to: ???'s previous message |
If you want to give global variables only file scope, you better declare them "static" or they can still clash with global variables of the same name in different source files. |
| Topic | Author | Date |
| Using Multiple C files in SDCC | 01/01/70 00:00 | |
| Not about the compiler | 01/01/70 00:00 | |
| Nothing to do with SDCC | 01/01/70 00:00 | |
| The joy of C | 01/01/70 00:00 | |
| Sloppy terminology | 01/01/70 00:00 | |
| Using Multiple C files in SDCC | 01/01/70 00:00 | |
| Laziness | 01/01/70 00:00 | |
| example | 01/01/70 00:00 | |
| globals are generally bad ... | 01/01/70 00:00 | |
| "Generally" being the important word! | 01/01/70 00:00 | |
re Globals | 01/01/70 00:00 | |
| static | 01/01/70 00:00 |



