maint: update copyright
[gnulib.git] / lib / i-ring.c
index 8beef68..4173a03 100644 (file)
@@ -1,5 +1,5 @@
 /* a simple ring buffer
-   Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <stdlib.h>
 
-/* The attribute __pure__ was added in gcc 2.96.  */
-#undef _GL_ATTRIBUTE_PURE
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
-# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
-#else
-# define _GL_ATTRIBUTE_PURE /* empty */
-#endif
-
 void
 i_ring_init (I_ring *ir, int default_val)
 {
@@ -41,7 +33,7 @@ i_ring_init (I_ring *ir, int default_val)
   ir->ir_default_val = default_val;
 }
 
-bool _GL_ATTRIBUTE_PURE
+bool
 i_ring_empty (I_ring const *ir)
 {
   return ir->ir_empty;