X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fi-ring.h;h=1aac214bef7d93d4ad36b3cf293a592ab1f140a4;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=2009266f32d1341ce671f747f514654e4f8a951e;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/i-ring.h b/lib/i-ring.h index 2009266f3..1aac214be 100644 --- a/lib/i-ring.h +++ b/lib/i-ring.h @@ -1,5 +1,5 @@ /* definitions for a simple ring buffer - Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2006, 2009-2013 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 @@ -41,4 +41,4 @@ typedef struct I_ring I_ring; void i_ring_init (I_ring *ir, int ir_default_val); int i_ring_push (I_ring *ir, int val); int i_ring_pop (I_ring *ir); -bool i_ring_empty (I_ring const *ir); +bool i_ring_empty (I_ring const *ir) _GL_ATTRIBUTE_PURE;