summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-14 00:56:54 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-09-14 03:49:19 -0500
commita13c3a68df9327d3a1d0283006a3cf755291484a (patch)
tree4e4f54e7bb8af1514cf5ad8a6cbfda9591fbe2ce
parent2dfe34ce0efef6ec0412130a32f755657710363d (diff)
removed unused sal macro (SAL_FIELDOFFSET)
Change-Id: I5b4b70ecc87efc943afe8a408140ef91e108e0a3
-rw-r--r--sal/inc/sal/macros.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sal/inc/sal/macros.h b/sal/inc/sal/macros.h
index a1f42c3f260d..5ccdee3c4e5d 100644
--- a/sal/inc/sal/macros.h
+++ b/sal/inc/sal/macros.h
@@ -36,16 +36,12 @@
#endif
#ifndef SAL_MIN
# define SAL_MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
-#ifndef SAL_FIELDOFFSET
-# define SAL_FIELDOFFSET(type, field) ((sal_Int32)(&((type *)16)->field) - 16)
-#endif
-
#ifndef SAL_N_ELEMENTS
# if defined(__cplusplus) && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L )
/*
* Magic template to calculate at compile time the number of elements
* in an array. Enforcing that the argument must be a array and not
* a pointer, e.g.