From 372908a9af818bb2618415b9395a819cc3d7fdb1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 24 Feb 2011 08:29:48 +0100 Subject: [PATCH] gcc complains about typedefs for the same struct twice --- src/util/quicklist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/quicklist.c b/src/util/quicklist.c index 11f446ba2..db06108c0 100644 --- a/src/util/quicklist.c +++ b/src/util/quicklist.c @@ -22,11 +22,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define QL_MAXSIZE 14 /* total struct is 64 bytes */ #define QL_LIMIT 8 -typedef struct quicklist { +struct quicklist { struct quicklist * next; int num_elements; void * elements[QL_MAXSIZE]; -} quicklist; +}; void * ql_get(quicklist * ql, int index) {