summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 01:26:52 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:58 +0100
commit872a590ef83b23a65071242a8082d25d5efa6db6 (patch)
treec4a7eec4c52124dc7b32d8fe698e3d04387147f4 /src/basic/macro.h
parent15a5e95075a7f6007dd97b2a165c8ed16fe683df (diff)
stat-util.h: move F_TYPE_EQUAL() macro definition to stat-util.h
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r--src/basic/macro.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h
index acd67feabb..975714da2b 100644
--- a/src/basic/macro.h
+++ b/src/basic/macro.h
@@ -301,12 +301,6 @@ static inline unsigned long ALIGN_POWER2(unsigned long u) {
#define char_array_0(x) x[sizeof(x)-1] = 0;
- /* Because statfs.t_type can be int on some architectures, we have to cast
- * the const magic to the type, otherwise the compiler warns about
- * signed/unsigned comparison, because the magic can be 32 bit unsigned.
- */
-#define F_TYPE_EQUAL(a, b) (a == (typeof(a)) b)
-
/* Returns the number of chars needed to format variables of the
* specified type as a decimal string. Adds in extra space for a
* negative '-' prefix (hence works correctly on signed