commit | 36ee653d3be470aa9657995bcc026d36b71449ac | [log] [tgz] |
---|---|---|
author | Olly Betts <olly@survex.com> | Fri Dec 30 15:36:08 2016 +1300 |
committer | Olly Betts <olly@survex.com> | Fri Dec 30 15:36:08 2016 +1300 |
tree | b06946d09f685aa014ea9d452dd730cab3ca0227 | |
parent | cf60bb889510a3d3876e6d623399563b1ca1d5da [diff] |
Omit module functions when there's no code MSHUTDOWN, RINIT, RSHUTDOWN and MINFO are often empty, so check and omit them if this is the case, and set the module structure entry to NULL instead. Reduces code size, number of external functions on the module, and runtime overhead a little (RINIT and RSHUTDOWN are called on every request when used with a webserver).