C++: Remove 'using ::timeval' from ctime. struct timeval was recently move to sys/time.h where it belongs. Now there are problems when it is referenced in ctime. Fixed by just removing it from ctime. Is that correct? or should ctime include sys/time.h? Noted by David Sidrane

This commit is contained in:
Gregory Nutt 2015-02-18 20:51:11 -06:00
parent c3e9eac800
commit 2732da28a3

View File

@ -53,7 +53,6 @@ namespace std
using ::clockid_t;
using ::timer_t;
using ::timespec;
using ::timeval;
using ::tm;
using ::itimerspec;
using ::sigevent;