summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-12-12 18:48:30 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-12-12 19:00:49 +0100
commit2d2a3b840421cfc6328aee8cc52e5a5a51444fda (patch)
tree81ab36b8122e0571c98e0c6337e814a8c5e86270 /src/odhcpd.h
parent2a71c1e3b81eee44e0dec88159e814681a1d0bc6 (diff)
odhcpd: switch to libubox container_of implementation
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 423deaa..80dbb40 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -20,16 +20,6 @@
#include <syslog.h>
#include <libubox/blobmsg.h>
-
-#ifndef typeof
-#define typeof __typeof
-#endif
-
-#ifndef container_of
-#define container_of(ptr, type, member) ( \
- (type *)( (char *)ptr - offsetof(type,member) ))
-#endif
-
#include <libubox/list.h>
#include <libubox/uloop.h>