Marin Ramesa, le Fri 05 Jul 2013 08:23:22 +0200, a écrit : > On 04.07.2013 23:11:19, Samuel Thibault wrote: > > Please rather put it into a .h file. > > * ddb/db_command.h (_setjmp): Add prototype. > * kern/xpr.h (_setjmp): Add prototype.
Err, no, the point of putting it in a .h file is to put it into a single place, so you're sure everybody agree on the definition since it's written only once. The .h file where it's supposed to go has to be related with the function itself, e.g. here i386/i386/setjmp.h seems like a good candidate. Samuel