diff options
Diffstat (limited to 'include/util')
-rw-r--r-- | include/util/util.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/util/util.h b/include/util/util.h deleted file mode 100644 index ed1102b..0000000 --- a/include/util/util.h +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: LGPL-3.0-or-later */ -/* - * util.h - * - * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at> - */ -#ifndef UTIL_H -#define UTIL_H - -#include "config.h" -#include "sqfs/predef.h" - -#include <stdint.h> -#include <stddef.h> - -#include "compat.h" - -#define container_of(ptr, type, member) \ - ((type *)((char *)ptr - offsetof(type, member))) - -#endif /* UTIL_H */ |