X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ringbuffer.c;h=bf990b06c6a26256fb16a59422a8b348312f7b96;hp=efe4fd053a9cee6fa6bc984ba7be03443faa381d;hb=75d545612d8fb51b7e6b2f8a7349b54502004cfa;hpb=7066e3f0a8ff4b8c226dc1f606999816721e3b86 diff --git a/ringbuffer.c b/ringbuffer.c index efe4fd05..bf990b06 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -1,11 +1,13 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file ringbuffer.c Simple ringbuffer implementation */ +#include + #include "para.h" #include "ringbuffer.h" #include "string.h" @@ -47,7 +49,7 @@ struct ringbuffer *ringbuffer_new(unsigned size) rb->entries = para_calloc(size * sizeof(void *)); rb->size = size; return rb; -}; +} /** * Add one entry to a ringbuffer.