diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2011-08-04 02:26:52 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2011-08-04 02:26:52 +0000 |
commit | c7c2e8316cc7cc99d8dfc9aa166e7af1b0b14516 (patch) | |
tree | 404d244c97620adafd7412be52f7dd9b06617389 /libstdc++-v3/testsuite/performance | |
parent | 17ab63903afcfddc6c1eeb8892170374390f6621 (diff) | |
download | gcc-c7c2e8316cc7cc99d8dfc9aa166e7af1b0b14516.tar.gz |
filebuf_sputn_unbuf.cc: Include unistd.h for unlink.
2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/performance/27_io/filebuf_sputn_unbuf.cc: Include
unistd.h for unlink.
* testsuite/performance/27_io/ofstream_insert_int.cc: Same.
* testsuite/performance/27_io/ifstream_extract_int.cc: Same.
* testsuite/performance/27_io/ifstream_getline-2.cc: Same.
* testsuite/performance/27_io/fstream_seek_write.cc: Same.
* testsuite/performance/27_io/ifstream_extract_chars.cc: Same.
* testsuite/performance/27_io/ofstream_insert_float.cc: Same.
* testsuite/performance/27_io/ifstream_extract_float.cc: Same.
* testsuite/performance/27_io/filebuf_sputc.cc: Same.
From-SVN: r177307
Diffstat (limited to 'libstdc++-v3/testsuite/performance')
9 files changed, 18 insertions, 18 deletions
diff --git a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc index 40600d5a75b..eafe67c9c22 100644 --- a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc +++ b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputc.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <cstdio> #include <fstream> #include <testsuite_performance.h> diff --git a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc index 10b1746f7b3..81f99a78a9c 100644 --- a/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc +++ b/libstdc++-v3/testsuite/performance/27_io/filebuf_sputn_unbuf.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2009 Free Software Foundation, Inc. +// Copyright (C) 2004, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <cstdio> #include <fstream> #include <testsuite_performance.h> diff --git a/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc b/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc index f55d5337756..f4e95ba21f4 100644 --- a/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc +++ b/libstdc++-v3/testsuite/performance/27_io/fstream_seek_write.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <fstream> #include <testsuite_performance.h> diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc index f12d497747c..22e811ae3fc 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_chars.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2005, 2009 Free Software Foundation, Inc. +// Copyright (C) 2005, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <cstdio> #include <fstream> #include <string> diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc index 2df70ccd5f4..23636a2d99f 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_float.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2009 Free Software Foundation, Inc. +// Copyright (C) 2004, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <fstream> #include <sstream> #include <testsuite_performance.h> diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc index 7491ad331f6..ac6f5985bc3 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_extract_int.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <fstream> #include <testsuite_performance.h> diff --git a/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc b/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc index 8c9ebd36251..3fc5e233920 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ifstream_getline-2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2009 Free Software Foundation, Inc. +// Copyright (C) 2004, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <cstdio> #include <fstream> #include <string> diff --git a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc index 203550db1f8..6d558e51b80 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_float.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <fstream> #include <sstream> #include <testsuite_performance.h> diff --git a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc index 22ac7982e73..60cedbb2a81 100644 --- a/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc +++ b/libstdc++-v3/testsuite/performance/27_io/ofstream_insert_int.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2009, 2011 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 @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - +#include <unistd.h> #include <fstream> #include <testsuite_performance.h> |