
11 Dec
2011
11 Dec
'11
11:29 p.m.
Hi Gream,
Le 11/12/2011 22:45, Graeme Russ a écrit :
I think the point is that when we pull stuff out of common.h into, say, foo.h then only include foo.h where the functionality moved into foo.h is _currently_ used.
It looks like you've pulled out the functions definitions into reloc.h then included reloc.h everywhere (including common.h). Better would be to moved the definitions to reloc.h, do not include reloc.h in common.h and include reloc.h only where it is strictly needed right now - Add #include<reloc.h> to each arch file as and when it is needed
Thanks Greame. This is indeed what I meant.
Regards,
Graeme
Amicalement,
--
Albert.