diff --git a/ChangeLog b/ChangeLog index ff02f1c2cd0..4f2e737a5c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2723,5 +2723,6 @@ * configs/stm3240g-eval/src/up_stmpe11.c: Add board-specific support for the the STMPE11 I/O expander on the STM3240G-EVAL board. Verfied that the STM3240G-EVAL touchscreen is now fully functional. + * include/cxx/cfcntl: Added std:: header file. diff --git a/include/cxx/cassert b/include/cxx/cassert old mode 100755 new mode 100644 diff --git a/include/cxx/cctype b/include/cxx/cctype old mode 100755 new mode 100644 diff --git a/include/cxx/cerrno b/include/cxx/cerrno old mode 100755 new mode 100644 diff --git a/include/cxx/cfcntl b/include/cxx/cfcntl new file mode 100644 index 00000000000..6907a53481d --- /dev/null +++ b/include/cxx/cfcntl @@ -0,0 +1,57 @@ +//*************************************************************************** +// include/cxx/cfcntl +// +// Copyright (C) 2012 Gregory Nutt. All rights reserved. +// Author: Gregory Nutt +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the +// distribution. +// 3. Neither the name NuttX nor the names of its contributors may be +// used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +// OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +// AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// +//*************************************************************************** + +#ifndef __INCLUDE_CXX_CFCNTL +#define __INCLUDE_CXX_CFCNTL + +//*************************************************************************** +// Included Files +//*************************************************************************** + +#include + +//*************************************************************************** +// Namespace +//*************************************************************************** + +namespace std +{ + using ::flock; + using ::creat; + using ::open; + using ::fcntl; +} + +#endif // __INCLUDE_CXX_CFCNTL diff --git a/include/cxx/climits b/include/cxx/climits old mode 100755 new mode 100644 diff --git a/include/cxx/cmath b/include/cxx/cmath old mode 100755 new mode 100644 diff --git a/include/cxx/csignal b/include/cxx/csignal old mode 100755 new mode 100644 diff --git a/include/cxx/cstdarg b/include/cxx/cstdarg old mode 100755 new mode 100644 diff --git a/include/cxx/cstdbool b/include/cxx/cstdbool old mode 100755 new mode 100644 diff --git a/include/cxx/cstddef b/include/cxx/cstddef old mode 100755 new mode 100644 diff --git a/include/cxx/cstdint b/include/cxx/cstdint old mode 100755 new mode 100644 diff --git a/include/cxx/cstdio b/include/cxx/cstdio old mode 100755 new mode 100644 diff --git a/include/cxx/cstdlib b/include/cxx/cstdlib old mode 100755 new mode 100644 diff --git a/include/cxx/cstring b/include/cxx/cstring old mode 100755 new mode 100644 diff --git a/include/cxx/ctime b/include/cxx/ctime old mode 100755 new mode 100644 diff --git a/include/cxx/cunistd b/include/cxx/cunistd old mode 100755 new mode 100644