X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ringbuffer.c;h=1f0b4e469c6abdf73920595246f91664031d76a3;hp=c45ed3fa21ba14f74c19459009b0e92affb634d2;hb=77b17730de748201537120c683678cf0e0316de2;hpb=00e4d4da1b2c00da139b09d3ed4ab9ad9fba2691 diff --git a/ringbuffer.c b/ringbuffer.c index c45ed3fa..1f0b4e46 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -1,11 +1,13 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2010 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.