Make functions static (where possible) to reduce code size (trivial).
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 23 Mar 2008 15:34:04 +0000 (15:34 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 23 Mar 2008 15:34:04 +0000 (15:34 +0000)
commit0bfb5c4fb2a8626ccc6f663d1c8ca8e88f6d6666
treea0483c5458f6b6bdce68892334ffb53f265b49a4
parentb0e3f39a39431f6448f4985a10379a580cf4c13c
Make functions static (where possible) to reduce code size (trivial).
Also, disable header() for now, as it's not being used.

Here are some stats on size differences:

 - ls

23820 coreinfo.old.elf
23564 coreinfo.new.elf

 - size *elf

   text    data     bss     dec     hex filename
  15199    2468  181904  199571   30b93 coreinfo.old.elf
  14934    2468  181912  199314   30a92 coreinfo.new.elf

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3187 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/coreinfo/coreboot_module.c
payloads/coreinfo/coreinfo.c
payloads/coreinfo/cpuinfo_module.c
payloads/coreinfo/pci_module.c