summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-28 17:51:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-28 17:51:47 +0000
commitece175945ccdd4f90a86fb68fd374258064cf9bd (patch)
tree6960770be555cd21a2df32fd139a17d4f7f45a78 /cpukit/score/include/rtems/system.h
parent2011-11-28 Werner Almesberger <werner@almesberger.net> (diff)
downloadrtems-ece175945ccdd4f90a86fb68fd374258064cf9bd.tar.bz2
2011-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1941/cpukit * libmisc/monitor/mon-server.c, score/include/rtems/system.h: Remove use of RTEMS_offset() in favor of standard offsetof(). This was undocumented and there was only one internal use. Change noted in 4.11 release notes.
Diffstat (limited to 'cpukit/score/include/rtems/system.h')
-rw-r--r--cpukit/score/include/rtems/system.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index 7ca6c33a8b..3e2a717b5b 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -34,12 +34,6 @@ int POSIX_NOT_IMPLEMENTED( void );
#endif
/**
- * This macro is used to obtain the offset of a field in a structure.
- */
-#define RTEMS_offsetof(type, field) \
- ((uintptr_t) &(((type *) 0)->field))
-
-/**
* The following is the extern for the RTEMS version string.
*
* @note The contents of this string are CPU specific.