kstackusage() patch request for comments

Dag-Erling Smørgrav des at des.no
Sun Jan 27 19:38:22 PST 2008


Alexander Motin <mav at FreeBSD.org> writes:
> The main question I have is about source files and headers I should
> use for this specific purposes. Is it correct way to define function
> in machine independent header, but implement it in machdep.c? Or I
> should define it in machine dependent headers?

If you intend to implement the same functions on all platforms, the
prototypes should be in a machine-independent header.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list