mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 11:05:44 +08:00
atomic_base.h: Do not include <stddef.h>.
2011-01-28 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/atomic_base.h: Do not include <stddef.h>. (kill_dependency): Uglify ret. From-SVN: r169364
This commit is contained in:
parent
f41371ead8
commit
c2ac0d631f
@ -1,3 +1,8 @@
|
||||
2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/bits/atomic_base.h: Do not include <stddef.h>.
|
||||
(kill_dependency): Uglify ret.
|
||||
|
||||
2011-01-26 Johannes Singler <singler@kit.edu>
|
||||
|
||||
* include/parallel/numeric (inner_product, partial_sum):
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- header.
|
||||
|
||||
// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2008, 2009, 2010, 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
|
||||
@ -33,7 +33,6 @@
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@ -72,8 +71,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
inline _Tp
|
||||
kill_dependency(_Tp __y)
|
||||
{
|
||||
_Tp ret(__y);
|
||||
return ret;
|
||||
_Tp __ret(__y);
|
||||
return __ret;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user