From: Pavel TvrdĂ­k Date: Thu, 19 Mar 2015 17:42:33 +0000 (+0100) Subject: Add header wrap defines to lib/buffer.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99d14b1ab38603d62db46c5913f00da95551c673;p=thirdparty%2Fbird.git Add header wrap defines to lib/buffer.h --- diff --git a/lib/buffer.h b/lib/buffer.h index cf073e88f..f01eaeeb2 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_ */