]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
atomic_base.h: Do not include <stddef.h>.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 28 Jan 2011 16:59:49 +0000 (16:59 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 28 Jan 2011 16:59:49 +0000 (16:59 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h

index b755b4336b7f32940118db979fcd2305d5006f51..1a8d41dce26a433962f8006ee8e797a4f981f03a 100644 (file)
@@ -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):
index 74fc997bfdb31f9b9ed1b5d9ed5ed95d92d137d7..f70b717b783514e0fe070245d6f929aaabbd0d46 100644 (file)
@@ -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;
     }
 
   /**