Nice catch! Perhaps an entry in src/doc/HACKS would be appropriate?
Thanks, Al On 21 December 2015 at 05:28, Joerg Sonnenberger <jo...@netbsd.org> wrote: > Module Name: src > Committed By: joerg > Date: Mon Dec 21 13:28:39 UTC 2015 > > Modified Files: > src/external/cddl/osnet/sys/sys: time.h > > Log Message: > Our time.h defines clock_gettime with assembler name after including > sys/time.h. The Solaris compat code in sys/time.h wants to use it in an > inline function, but misses a prototype (and the relabeling). As stopgap > for getting consistent defines of clock_gettime duplicate the prototype > here. > > > To generate a diff of this commit: > cvs rdiff -u -r1.4 -r1.5 src/external/cddl/osnet/sys/sys/time.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >