Date: Sat, 29 Jun 2002 17:13:44 -0400 From: "Adam Migus" <adam@migus.org> To: "Robert Watson" <rwatson@freebsd.org>, "Perforce Change Reviews" <perforce@freebsd.org> Subject: RE: PERFORCE change 13617 for review Message-ID: <HGEBLKNLFOJKKBGJBAKDGEEECAAA.adam@migus.org> In-Reply-To: <200206292027.g5TKR5HB075121@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Will this cause errors if I compile with the old compiler? > -----Original Message----- > From: Robert Watson [mailto:rwatson@freebsd.org] > Sent: Saturday, June 29, 2002 4:27 PM > To: Perforce Change Reviews > Subject: PERFORCE change 13617 for review > > > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13617 > > Change 13617 by rwatson@rwatson_tislabs on 2002/06/29 13:26:29 > > Fix var args handling in a macro, ## is not needed and was > generating a token warning with the new compiler. > > Affected files ... > > .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#155 edit > > Differences ... > > ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#155 > (text+ko) ==== > > @@ -175,7 +175,7 @@ > LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ > if (mpc->mpc_ops.mpo_ ## check != NULL) \ > error = error_select( \ > - mpc->mpc_ops.mpo_ ## check (## args), \ > + mpc->mpc_ops.mpo_ ## check (args), \ > error); \ > } \ > MAC_POLICY_LIST_UNBUSY(); \ > @@ -196,7 +196,7 @@ > LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ > if (mpc->mpc_ops.mpo_ ## operation != NULL) \ > result = result composition \ > - mpc->mpc_ops.mpo_ ## operation ( ## args); \ > + mpc->mpc_ops.mpo_ ## operation (args); \ > } \ > MAC_POLICY_LIST_UNBUSY(); \ > } while (0) > @@ -211,7 +211,7 @@ > MAC_POLICY_LIST_BUSY(); \ > LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ > if (mpc->mpc_ops.mpo_ ## operation != NULL) \ > - mpc->mpc_ops.mpo_ ## operation (## args); \ > + mpc->mpc_ops.mpo_ ## operation (args); \ > } \ > MAC_POLICY_LIST_UNBUSY(); \ > } while (0) -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQA/AwUBPR4jCHYIuWxy/CTSEQI7MACdHlABZrdixPd3iebnG6GSKS0PPq8Aniaz nR0aGoO07fvNyIC1X91Z5w9g =vXQl -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HGEBLKNLFOJKKBGJBAKDGEEECAAA.adam>