commit | 7c1b18655e6a450b5f1270a956c7146f821a2c23 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Jan 03 18:33:00 2010 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Jan 03 18:33:00 2010 -0500 |
tree | db1c8dd00708ea798f882aaaad07b9daeb2a4e47 | |
parent | f9b25d306b66bbafdbf9656103b41fbb83836d03 [diff] |
Reduce #ifs by weeding out some cross-chunk function definitions. Reduce the need for placing #if guards around functions that are marked as VISIBLE in another code chunk by declaring the functions as "weak" when they are not needed. It's still necessary to ensure that no C code references the data from a different chunk (or an -fwhole-program compile might try to keep a local reference).