diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-18 20:51:11 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-18 20:51:11 -0600 |
commit | 5074467fa78088fb62115fc86afbe098978ceaae (patch) | |
tree | 45cd56db94e8f3d322a885bdced1a9e3fcfd2f4d | |
parent | bc7bddedba414f1a5a7ae7360761f5f03149bd7f (diff) | |
download | px4-nuttx-5074467fa78088fb62115fc86afbe098978ceaae.tar.gz px4-nuttx-5074467fa78088fb62115fc86afbe098978ceaae.tar.bz2 px4-nuttx-5074467fa78088fb62115fc86afbe098978ceaae.zip |
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
-rw-r--r-- | nuttx/include/cxx/ctime | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nuttx/include/cxx/ctime b/nuttx/include/cxx/ctime index 3d3dfaec1..18fdded56 100644 --- a/nuttx/include/cxx/ctime +++ b/nuttx/include/cxx/ctime @@ -53,7 +53,6 @@ namespace std using ::clockid_t; using ::timer_t; using ::timespec; - using ::timeval; using ::tm; using ::itimerspec; using ::sigevent; |