aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2007-05-19 13:55:01 +0000
committerMaxime Henrion <mux@FreeBSD.org>2007-05-19 13:55:01 +0000
commit4dccd84c5f23965517a78a03c321bdcbbae677e5 (patch)
tree29546d6397bdce3374bdede25d9c4d1ab36c2cf6
parent7d6ea92e92a7607d000a38aa6c5f5c28ba14b576 (diff)
downloadsrc-vendor/csup.tar.gz
src-vendor/csup.zip
Fix a typo that caused the #undef directive to not actually undefinevendor/csup
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)
Notes
Notes: svn path=/vendor/csup/dist/; revision=169765
-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 7ae77bcf0417..aa9cac165fb4 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))
/*