/* Ugly structure offset handling macros */
+extern char invalid_nonzero_pointer[0];
#define SAME_TYPE(a, b) ({ int _ = ((a) != (b)); !_; })
-#define TYPE_CAST(from, to, what) ( SAME_TYPE(((from) NULL), (what)), ((to) (what)))
+#define TYPE_CAST(from, to, what) ( SAME_TYPE(((from) invalid_nonzero_pointer), (what)), ((to) (what)))
#ifdef offsetof
#define OFFSETOF offsetof
* is freed upon shutdown of the module.
*/
+char invalid_nonzero_pointer[0];
+
static void pool_dump(struct dump_request *, resource *);
static void pool_free(resource *);
static resource *pool_lookup(resource *, unsigned long);