Re: [Tuxnes-devel] *.h: extern int function() VS int function().
Brought to you by:
tmmm
From: Jason D. S. <jd...@us...> - 2004-08-24 19:57:53
|
Mike Mestnik wrote: > For functions maby not, however this is what I got... > /usr/bin/ld: Warning: size of symbol `emulators' changed from 44 in > controller.o to 132 in emulator.o > /usr/bin/ld: Warning: size of symbol `renderers' changed from 36 in > controller.o to 252 in renderer.o > /usr/bin/ld: Warning: size of symbol `sounders' changed from 28 in emu.o > to 84 in sounder.o > > So things that are extern should stay(and be) extern. Variables have to be extern. Functions need not be. jason |