diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-06 23:32:59 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-06 23:32:59 +0000 |
| commit | 5ea762931df184641a2beb4261ad782de2a6ae6d (patch) | |
| tree | f1955fd889ae7a27a73137193dcef41f62192399 /libstdc++-v3/include/c_std/bits | |
| parent | e8a71c59392cf4b655a03bc0831a529f1b515c31 (diff) | |
| download | ppe42-gcc-5ea762931df184641a2beb4261ad782de2a6ae6d.tar.gz ppe42-gcc-5ea762931df184641a2beb4261ad782de2a6ae6d.zip | |
2001-03-06 Nathan Myers <ncm@cantrip.org>
Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cerrno.h: Don't define errno in std::.
* testsuite/17_intro/header_cerrno.cc (test01): New file.
* testsuite/17_intro/header_cassert.cc (test01): New file.
* testsuite/17_intro/header_cstddef.cc (test01): New file.
* testsuite/17_intro/header_csetjmp.cc (test01): New file.
* testsuite/17_intro/header_cstdarg.cc (test01): New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40270 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/bits')
| -rw-r--r-- | libstdc++-v3/include/c_std/bits/std_cerrno.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cerrno.h b/libstdc++-v3/include/c_std/bits/std_cerrno.h index 1dc2d137e39..d4b2b7acd65 100644 --- a/libstdc++-v3/include/c_std/bits/std_cerrno.h +++ b/libstdc++-v3/include/c_std/bits/std_cerrno.h @@ -1,6 +1,6 @@ // The -*- C++ -*- error number header. -// Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +// Copyright (C) 1997, 1998, 1999, 2001 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 @@ -39,13 +39,4 @@ #pragma GCC system_header #include <errno.h> -namespace std -{ - extern "C" int errno; -} - #endif - - - - |

