diff options
Diffstat (limited to 'contrib/libstdc++/include/c_compatibility')
18 files changed, 0 insertions, 924 deletions
diff --git a/contrib/libstdc++/include/c_compatibility/assert.h b/contrib/libstdc++/include/c_compatibility/assert.h deleted file mode 100644 index fc14c0f4bcdf..000000000000 --- a/contrib/libstdc++/include/c_compatibility/assert.h +++ /dev/null @@ -1,30 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#include <cassert> diff --git a/contrib/libstdc++/include/c_compatibility/ctype.h b/contrib/libstdc++/include/c_compatibility/ctype.h deleted file mode 100644 index 1bd379dee4db..000000000000 --- a/contrib/libstdc++/include/c_compatibility/ctype.h +++ /dev/null @@ -1,49 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_CTYPE_H -#define _GLIBCXX_CTYPE_H 1 - -#include <cctype> - -using std::isalnum; -using std::isalpha; -using std::iscntrl; -using std::isdigit; -using std::isgraph; -using std::islower; -using std::isprint; -using std::ispunct; -using std::isspace; -using std::isupper; -using std::isxdigit; -using std::tolower; -using std::toupper; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/errno.h b/contrib/libstdc++/include/c_compatibility/errno.h deleted file mode 100644 index d7cc829452bf..000000000000 --- a/contrib/libstdc++/include/c_compatibility/errno.h +++ /dev/null @@ -1,35 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_ERRNO_H -#define _GLIBCXX_ERRNO_H 1 - -#include <cerrno> - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/float.h b/contrib/libstdc++/include/c_compatibility/float.h deleted file mode 100644 index adeb73fef83f..000000000000 --- a/contrib/libstdc++/include/c_compatibility/float.h +++ /dev/null @@ -1,35 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_FLOAT_H -#define _GLIBCXX_FLOAT_H 1 - -#include <cfloat> - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/iso646.h b/contrib/libstdc++/include/c_compatibility/iso646.h deleted file mode 100644 index d5097ca72516..000000000000 --- a/contrib/libstdc++/include/c_compatibility/iso646.h +++ /dev/null @@ -1,35 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_ISO646_H -#define _GLIBCXX_ISO646_H 1 - -#include <ciso646> - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/limits.h b/contrib/libstdc++/include/c_compatibility/limits.h deleted file mode 100644 index e7abd017fbff..000000000000 --- a/contrib/libstdc++/include/c_compatibility/limits.h +++ /dev/null @@ -1,35 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_LIMITS_H -#define _GLIBCXX_LIMITS_H 1 - -#include <climits> - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/locale.h b/contrib/libstdc++/include/c_compatibility/locale.h deleted file mode 100644 index 8baf041e20f2..000000000000 --- a/contrib/libstdc++/include/c_compatibility/locale.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_LOCALE_H -#define _GLIBCXX_LOCALE_H 1 - -#include <clocale> - -using std::lconv; -using std::setlocale; -using std::localeconv; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/math.h b/contrib/libstdc++/include/c_compatibility/math.h deleted file mode 100644 index 38636e60c1bb..000000000000 --- a/contrib/libstdc++/include/c_compatibility/math.h +++ /dev/null @@ -1,74 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_MATH_H -#define _GLIBCXX_MATH_H 1 - -#include <cmath> - -using std::abs; -using std::acos; -using std::asin; -using std::atan; -using std::atan2; -using std::cos; -using std::sin; -using std::tan; -using std::cosh; -using std::sinh; -using std::tanh; -using std::exp; -using std::frexp; -using std::ldexp; -using std::log; -using std::log10; -using std::modf; -using std::pow; -using std::sqrt; -using std::ceil; -using std::fabs; -using std::floor; -using std::fmod; - -#if _GLIBCXX_USE_C99 -using std::fpclassify; -using std::isfinite; -using std::isinf; -using std::isnan; -using std::isnormal; -using std::signbit; -using std::isgreater; -using std::isgreaterequal; -using std::isless; -using std::islessequal; -using std::islessgreater; -using std::isunordered; -#endif - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/setjmp.h b/contrib/libstdc++/include/c_compatibility/setjmp.h deleted file mode 100644 index f2d481ae17da..000000000000 --- a/contrib/libstdc++/include/c_compatibility/setjmp.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_SETJMP_H -#define _GLIBCXX_SETJMP_H 1 - -#include <csetjmp> - -using std::jmp_buf; -using std::longjmp; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/signal.h b/contrib/libstdc++/include/c_compatibility/signal.h deleted file mode 100644 index ae1d23d56af0..000000000000 --- a/contrib/libstdc++/include/c_compatibility/signal.h +++ /dev/null @@ -1,40 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_SIGNAL_H -#define _GLIBCXX_SIGNAL_H 1 - -#include <csignal> - -using std::sig_atomic_t; - -using std::raise; -using std::signal; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/stdarg.h b/contrib/libstdc++/include/c_compatibility/stdarg.h deleted file mode 100644 index 9b92a93f9c2e..000000000000 --- a/contrib/libstdc++/include/c_compatibility/stdarg.h +++ /dev/null @@ -1,37 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_STDARG_H -#define _GLIBCXX_STDARG_H 1 - -#include <cstdarg> - -using std::va_list; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/stddef.h b/contrib/libstdc++/include/c_compatibility/stddef.h deleted file mode 100644 index 457cd0062d2d..000000000000 --- a/contrib/libstdc++/include/c_compatibility/stddef.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_STDDEF_H -#define _GLIBCXX_STDDEF_H 1 - -#include <cstddef> - -using std::size_t; -using std::ptrdiff_t; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/stdio.h b/contrib/libstdc++/include/c_compatibility/stdio.h deleted file mode 100644 index 270852f5329c..000000000000 --- a/contrib/libstdc++/include/c_compatibility/stdio.h +++ /dev/null @@ -1,85 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_STDIO_H -#define _GLIBCXX_STDIO_H 1 - -#include <cstdio> - -using std::FILE; -using std::fpos_t; - -using std::remove; -using std::rename; -using std::tmpfile; -using std::tmpnam; -using std::fclose; -using std::fflush; -using std::fopen; -using std::freopen; -using std::setbuf; -using std::setvbuf; -using std::fprintf; -using std::fscanf; -using std::printf; -using std::scanf; -using std::snprintf; -using std::sprintf; -using std::sscanf; -using std::vfprintf; -using std::vfscanf; -using std::vprintf; -using std::vscanf; -using std::vsnprintf; -using std::vsprintf; -using std::vsscanf; -using std::fgetc; -using std::fgets; -using std::fputc; -using std::fputs; -using std::getc; -using std::getchar; -using std::gets; -using std::putc; -using std::putchar; -using std::puts; -using std::ungetc; -using std::fread; -using std::fwrite; -using std::fgetpos; -using std::fseek; -using std::fsetpos; -using std::ftell; -using std::rewind; -using std::clearerr; -using std::feof; -using std::ferror; -using std::perror; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/stdlib.h b/contrib/libstdc++/include/c_compatibility/stdlib.h deleted file mode 100644 index dbf99b4a58f2..000000000000 --- a/contrib/libstdc++/include/c_compatibility/stdlib.h +++ /dev/null @@ -1,67 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_STDLIB_H -#define _GLIBCXX_STDLIB_H 1 - -#include <cstdlib> - -using std::div_t; -using std::ldiv_t; - -using std::abort; -using std::abs; -using std::atexit; -using std::atof; -using std::atoi; -using std::atol; -using std::bsearch; -using std::calloc; -using std::div; -using std::exit; -using std::free; -using std::getenv; -using std::labs; -using std::ldiv; -using std::malloc; -using std::mblen; -using std::mbstowcs; -using std::mbtowc; -using std::qsort; -using std::rand; -using std::realloc; -using std::srand; -using std::strtod; -using std::strtol; -using std::strtoul; -using std::system; -using std::wcstombs; -using std::wctomb; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/string.h b/contrib/libstdc++/include/c_compatibility/string.h deleted file mode 100644 index 09e59cfef2c2..000000000000 --- a/contrib/libstdc++/include/c_compatibility/string.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_STRING_H -#define _GLIBCXX_STRING_H 1 - -#include <cstring> - -using std::memcpy; -using std::memmove; -using std::strcpy; -using std::strncpy; -using std::strcat; -using std::strncat; -using std::memcmp; -using std::strcmp; -using std::strcoll; -using std::strncmp; -using std::strxfrm; -using std::memchr; -using std::strchr; -using std::strcspn; -using std::strpbrk; -using std::strrchr; -using std::strspn; -using std::strstr; -using std::strtok; -using std::memset; -using std::strerror; -using std::strlen; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/time.h b/contrib/libstdc++/include/c_compatibility/time.h deleted file mode 100644 index d5684adf2d98..000000000000 --- a/contrib/libstdc++/include/c_compatibility/time.h +++ /dev/null @@ -1,60 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_TIME_H -#define _GLIBCXX_TIME_H 1 - -#include <ctime> - -// Get rid of those macros defined in <time.h> in lieu of real functions. -#undef clock -#undef difftime -#undef mktime -#undef time -#undef asctime -#undef ctime -#undef gmtime -#undef localtime -#undef strftime - -using std::clock_t; -using std::time_t; -using std::tm; - -using std::clock; -using std::difftime; -using std::mktime; -using std::time; -using std::asctime; -using std::ctime; -using std::gmtime; -using std::localtime; -using std::strftime; - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/wchar.h b/contrib/libstdc++/include/c_compatibility/wchar.h deleted file mode 100644 index 2071ae436de4..000000000000 --- a/contrib/libstdc++/include/c_compatibility/wchar.h +++ /dev/null @@ -1,114 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002, 2003 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_WCHAR_H -#define _GLIBCXX_WCHAR_H 1 - -#include <cwchar> - -using std::mbstate_t; - -#if _GLIBCXX_USE_WCHAR_T -using std::wint_t; - -using std::btowc; -using std::wctob; -using std::fgetwc; -using std::fgetwc; -using std::fgetws; -using std::fputwc; -using std::fputws; -using std::fwide; -using std::fwprintf; -using std::fwscanf; -using std::swprintf; -using std::swscanf; -using std::vfwprintf; -#if _GLIBCXX_HAVE_VFWSCANF -using std::vfwscanf; -#endif -using std::vswprintf; -#if _GLIBCXX_HAVE_VSWSCANF -using std::vswscanf; -#endif -using std::vwprintf; -#if _GLIBCXX_HAVE_VWSCANF -using std::vwscanf; -#endif -using std::wprintf; -using std::wscanf; -using std::getwc; -using std::getwchar; -using std::mbsinit; -using std::mbrlen; -using std::mbrtowc; -using std::mbsrtowcs; -using std::wcsrtombs; -using std::putwc; -using std::putwchar; -using std::ungetwc; -using std::wcrtomb; -using std::wcstod; -#if _GLIBCXX_HAVE_WCSTOF -using std::wcstof; -#endif -using std::wcstol; -using std::wcstoul; -using std::wcscpy; -using std::wcsncpy; -using std::wcscat; -using std::wcsncat; -using std::wcscmp; -using std::wcscoll; -using std::wcsncmmp; -using std::wcsxfrm; -using std::wcschr; -using std::wcscspn; -using std::wcslen; -using std::wcspbrk; -using std::wcsrchr; -using std::wcsspn; -using std::wcsstr; -using std::wcstok; -using std::wmemchr; -using std::wmemcmp; -using std::wmemcpy; -using std::wmemmove; -using std::wmemset; -using std::wcsftime; - -#if _GLIBCXX_USE_C99 -using std::wcstold; -using std::wcstoll; -using std::wcstoull; -#endif - -#endif //_GLIBCXX_USE_WCHAR_T - -#endif diff --git a/contrib/libstdc++/include/c_compatibility/wctype.h b/contrib/libstdc++/include/c_compatibility/wctype.h deleted file mode 100644 index c7ddc903ab91..000000000000 --- a/contrib/libstdc++/include/c_compatibility/wctype.h +++ /dev/null @@ -1,55 +0,0 @@ -// -*- C++ -*- compatibility header. - -// Copyright (C) 2002 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _GLIBCXX_CWCTYPE_H -#define _GLIBCXX_CWCTYPE_H 1 - -#include <cwctype> - -using std::wctype_t; -using std::wctrans_t; -using std::iswalpha; -using std::iswupper; -using std::iswlower; -using std::iswdigit; -using std::iswxdigit; -using std::iswalnum; -using std::iswspace; -using std::iswpunct; -using std::iswprint; -using std::iswgraph; -using std::iswcntrl; -using std::iswctype; -using std::towctrans; -using std::towlower; -using std::towupper; -using std::wctrans; -using std::wctype; - -#endif |