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)
This commit is contained in:
Maxime Henrion 2007-05-19 13:55:01 +00:00
parent 7d6ea92e92
commit 4dccd84c5f

View File

@ -35,7 +35,7 @@
#ifndef _QUEUE_H_
#define _QUEUE_H_
#undef __ofsetof
#undef __offsetof
#define __offsetof(type, field) ((size_t)(&((type *)0)->field))
/*