summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/include/ansi.h')
-rw-r--r--sys/arm/include/ansi.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/arm/include/ansi.h b/sys/arm/include/ansi.h
index af323fd..dcf65ab 100644
--- a/sys/arm/include/ansi.h
+++ b/sys/arm/include/ansi.h
@@ -111,11 +111,6 @@ typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/
#define _BSD_CLOCKS_PER_SEC_ 100
/*
- * We define this here since both <stddef.h> and <sys/types.h> needs it.
- */
-#define __offsetof(type, field) ((size_t)(&((type *)0)->field))
-
-/*
* XXX this paragraph is very out of date.
* Typedefs for especially magic types. #define's wouldn't work in the
* __GNUC__ case, since __attribute__(()) only works in certain contexts.
OpenPOWER on IntegriCloud