From 99d14b1ab38603d62db46c5913f00da95551c673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Thu, 19 Mar 2015 18:42:33 +0100 Subject: [PATCH] Add header wrap defines to lib/buffer.h --- lib/buffer.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/buffer.h b/lib/buffer.h index cf073e88..f01eaeeb 100644 --- a/lib/buffer.h +++ b/lib/buffer.h @@ -1,3 +1,13 @@ +/* + * BIRD Library -- Buffer + * + * Can be freely distributed and used under the terms of the GNU GPL. + */ + +#ifndef _BIRD_BUFFER_H_ +#define _BIRD_BUFFER_H_ + +#include "lib/resource.h" #define BUFFER(type) struct { type *data; uint used, size; } @@ -32,4 +42,4 @@ #define BUFFER_FLUSH(v) ({ (v).used = 0; }) - +#endif /* _BIRD_BUFFER_H_ */