Date: Mon, 28 Jan 2008 04:38:12 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Alexander Motin <mav@FreeBSD.org> Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org Subject: Re: kstackusage() patch request for comments Message-ID: <86sl0iwrff.fsf@ds4.des.no> In-Reply-To: <479CCCF8.7030601@FreeBSD.org> (Alexander Motin's message of "Sun\, 27 Jan 2008 20\:27\:04 %2B0200") References: <479CCCF8.7030601@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin <mav@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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86sl0iwrff.fsf>