diff options
Diffstat (limited to '')
| -rw-r--r-- | src/types/ring.h (renamed from src/ring.h) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ring.h b/src/types/ring.h index 5825810..0474f39 100644 --- a/src/ring.h +++ b/src/types/ring.h @@ -15,6 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef TYPES_RING_H +#define TYPES_RING_H + + #include <stddef.h> @@ -143,3 +147,6 @@ static inline int ring_have_more(struct ring* restrict this) return this->buffer != NULL; } + +#endif + |
