X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fi-ring.h;h=7d993fa482571f6d13995d53f9790039a48a032d;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=f0700b693bc35fc2e660c615eeea1f74a8d6bd8a;hpb=d599e5add275f75ed08e6527b8ee4d3f4f7c3aea;p=gnulib.git diff --git a/lib/i-ring.h b/lib/i-ring.h index f0700b693..7d993fa48 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-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 @@ -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;