summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-06 19:35:25 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-06 19:35:25 -0500
commitf150c8ee9b6de2ca8263b6479448404febcecb44 (patch)
treeaf6033f8d521983f60a84a2c6403ba4ab425af7b /src
parent17045358539a80573bfe6588ded598999056591c (diff)
remove incorrect ##, prefix args with __
Diffstat (limited to 'src')
-rw-r--r--src/stddef/offsetof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stddef/offsetof.c b/src/stddef/offsetof.c
index c5bf733b..15b7a5f3 100644
--- a/src/stddef/offsetof.c
+++ b/src/stddef/offsetof.c
@@ -1,5 +1,5 @@
#include <stddef.h>
-#define offsetof(type, member) ((size_t)((void*)&(((type*)0)->##member)))
+#define offsetof(__type, __member) ((size_t)((void*)&(((__type*)0)->__member)))
/** get offset of a structure member **/