From 2d2a3b840421cfc6328aee8cc52e5a5a51444fda Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Wed, 12 Dec 2018 18:48:30 +0100 Subject: odhcpd: switch to libubox container_of implementation Signed-off-by: Hans Dedecker --- src/odhcpd.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/odhcpd.h') 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 #include - -#ifndef typeof -#define typeof __typeof -#endif - -#ifndef container_of -#define container_of(ptr, type, member) ( \ - (type *)( (char *)ptr - offsetof(type,member) )) -#endif - #include #include -- cgit v1.2.3