Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On 08/24/17 18:18, Robert Elz wrote:
Module Name:	src
Committed By:	kre
Date:		Thu Aug 24 17:18:55 UTC 2017

Modified Files:
	src/sys/kern: subr_extent.c

Log Message:
Build fix attempt ... changes affect !KERNEL (ie: userland, rump) version
of this file only.

Rather than adding meaningless {} around all uses of functions that
are #defined to nothing for userland, #define the funcs to something
that is functionally equivalent (but which appeases gcc).

Also, define KASSERT() to nothing for userland, which avoids the need
to add a #definee for mutex_owned which would otherwise be needed,
and simmultaneoiusly stops gcc from complaining about a lack of a prototype.
Thanks... gotta love rump!

Nick


Home | Main Index | Thread Index | Old Index