summaryrefslogtreecommitdiffstats
path: root/contrib/csup
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2007-05-19 13:55:01 +0000
committermux <mux@FreeBSD.org>2007-05-19 13:55:01 +0000
commitda760f9b400c6e6ae6343293814b1584509a6e89 (patch)
tree29546d6397bdce3374bdede25d9c4d1ab36c2cf6 /contrib/csup
parent9062cc29a71793019862502ce51063b4cf3b8308 (diff)
downloadFreeBSD-src-da760f9b400c6e6ae6343293814b1584509a6e89.zip
FreeBSD-src-da760f9b400c6e6ae6343293814b1584509a6e89.tar.gz
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)
Diffstat (limited to 'contrib/csup')
-rw-r--r--contrib/csup/queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/queue.h b/contrib/csup/queue.h
index 7ae77bc..aa9cac1 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))
/*
OpenPOWER on IntegriCloud