From 4dccd84c5f23965517a78a03c321bdcbbae677e5 Mon Sep 17 00:00:00 2001 From: Maxime Henrion Date: Sat, 19 May 2007 13:55:01 +0000 Subject: [PATCH] Fix a typo that caused the #undef directive to not actually undefine the correct symbol, thus causing a warning with GCC 4.2.0. Committed into the vendor branch since this is already in the csup repository. Reported by: kan (ages ago) --- contrib/csup/queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/csup/queue.h b/contrib/csup/queue.h index 7ae77bcf041..aa9cac165fb 100644 --- a/contrib/csup/queue.h +++ b/contrib/csup/queue.h @@ -35,7 +35,7 @@ #ifndef _QUEUE_H_ #define _QUEUE_H_ -#undef __ofsetof +#undef __offsetof #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) /*