From owner-freebsd-questions Fri Jul 20 19:16:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 8FFEE37B405 for ; Fri, 20 Jul 2001 19:16:51 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id f6L2GnI37288; Fri, 20 Jul 2001 22:16:49 -0400 (EDT) (envelope-from wollman) Date: Fri, 20 Jul 2001 22:16:49 -0400 (EDT) From: Garrett Wollman Message-Id: <200107210216.f6L2GnI37288@khavrinen.lcs.mit.edu> To: Marcelo Carvalho Cc: freebsd-questions@FreeBSD.ORG Subject: Re: porting BSD to Freebsd In-Reply-To: <20010721020907.99984.qmail@web14407.mail.yahoo.com> References: <20010720171028.A94827@xor.obsecurity.org> <20010721020907.99984.qmail@web14407.mail.yahoo.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < 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