Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 22:16:49 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Marcelo Carvalho <marcelomcarvalho@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: porting BSD to Freebsd
Message-ID:  <200107210216.f6L2GnI37288@khavrinen.lcs.mit.edu>
In-Reply-To: <20010721020907.99984.qmail@web14407.mail.yahoo.com>
References:  <20010720171028.A94827@xor.obsecurity.org> <20010721020907.99984.qmail@web14407.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 20 Jul 2001 19:09:07 -0700 (PDT), Marcelo Carvalho <marcelomcarvalho@yahoo.com> said:

> My problem is, since this is a NEW definition of type of memory, I
> need to know where I should include it appropriately.

Your new malloc type should be declared (using MALLOC_DECLARE) in
whatever header file contains the declarations common to your source
modules.  It should be instantiated in exactly one of your source
files.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107210216.f6L2GnI37288>