X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ringbuffer.c;h=e85661e4c0d57e56fb6b245b5c106c6e87090180;hp=b27fd8e8a25c4ccd52756f2e9c0f30e1c3b4162b;hb=d1e6b28f66e243516d01916f9125baee75dd98d6;hpb=94d7a012a9bac8844a5ed11b97b51c8d35edadb0 diff --git a/ringbuffer.c b/ringbuffer.c index b27fd8e8..e85661e4 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -1,11 +1,13 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2014 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" @@ -94,7 +96,7 @@ void *ringbuffer_get(struct ringbuffer *rb, int num) * * \param rb The ringbuffer identifier * - * This function always succeeds and never returns a number greater than the + * \return This function always succeeds. It returns a number less than the * size of the ring buffer. */ unsigned ringbuffer_filled(struct ringbuffer *rb)