summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
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/libmisc
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/libmisc')
-rw-r--r--cpukit/libmisc/monitor/mon-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/monitor/mon-server.c b/cpukit/libmisc/monitor/mon-server.c
index 03bc1932b2..c7408bbb1a 100644
--- a/cpukit/libmisc/monitor/mon-server.c
+++ b/cpukit/libmisc/monitor/mon-server.c
@@ -160,7 +160,7 @@ rtems_monitor_server_task(
response.result0 = next_id;
response.result1 = size;
-#define SERVER_OVERHEAD (RTEMS_offsetof(rtems_monitor_server_response_t, \
+#define SERVER_OVERHEAD (offsetof(rtems_monitor_server_response_t, \
payload))
status = rtems_message_queue_send(request.return_id,