/*
- * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2012 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file ringbuffer.c Simple ringbuffer implementation */
+#include <regex.h>
+
#include "para.h"
#include "ringbuffer.h"
#include "string.h"
*
* \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)