summaryrefslogtreecommitdiff
path: root/src/main/c/common/offset_of.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/c/common/offset_of.h')
-rw-r--r--src/main/c/common/offset_of.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/c/common/offset_of.h b/src/main/c/common/offset_of.h
deleted file mode 100644
index 7d9179d..0000000
--- a/src/main/c/common/offset_of.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef INCGUARD_yisgKqALPG4lfEqb
-#define INCGUARD_yisgKqALPG4lfEqb
-
-
-#define container_of(P, T, M) \
- ((T*)( ((size_t)P) - ((size_t)((char*)&((T*)0)->M - (char*)0) )))
-
-
-#endif /* INCGUARD_yisgKqALPG4lfEqb */