Re: svn commit: r312119 - head/sys/kern

2017-01-15 Thread Ngie Cooper (yaneurabeya)
> On Jan 14, 2017, at 22:49, Bruce Evans wrote: > > On Sat, 14 Jan 2017, Ngie Cooper wrote: > >> Log: >> encode_long, encode_timeval: mechanically replace `exp` with `exponent` >> >> This helps fix a -Wshadow issue with exp(3) with tests/sys/acct/acct_test, >> which include math.h, which in tu

Re: svn commit: r312119 - head/sys/kern

2017-01-14 Thread Bruce Evans
On Sat, 14 Jan 2017, Ngie Cooper wrote: Log: encode_long, encode_timeval: mechanically replace `exp` with `exponent` This helps fix a -Wshadow issue with exp(3) with tests/sys/acct/acct_test, which include math.h, which in turn defines exp(3) But kern_acct.c doesn't include math.h. This m

svn commit: r312119 - head/sys/kern

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 05:06:14 2017 New Revision: 312119 URL: https://svnweb.freebsd.org/changeset/base/312119 Log: encode_long, encode_timeval: mechanically replace `exp` with `exponent` This helps fix a -Wshadow issue with exp(3) with tests/sys/acct/acct_test, which include math