Subject: Re: Initialising pools using link sets
To: enami tsugutomo <enami@but-b.or.jp>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-kern
Date: 04/10/2004 14:23:35
enami tsugutomo wrote:
> > -MALLOC_DEFINE(M_CRED, "cred", "credentials");
> > +POOL_INIT(cred_pool, sizeof(struct ucred), 0, 0, 0, "credpl", \
> > + &pool_allocator_nointr);
>
> Why the trailing backslash is necessary?
For some reason I didn't think CPP macro calls could span multiple
lines, but a quick test shows that indeed they can...
Was it ever the case (maybe pre-ANSI?!) that CPP macro calls had to be a
single (logical) line?
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/