]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: macros.h - Fix #endif position
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 4 Oct 2021 11:35:03 +0000 (14:35 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 5 Oct 2021 09:57:30 +0000 (09:57 +0000)
src/lib/macros.h

index 930158281eab4f0a5c5107112cd1561a06e1905d..18b32aada9f645185a9817b311ed93419e799d4c 100644 (file)
@@ -239,8 +239,6 @@ static inline const char *container_of_ptr(const void *ptr, size_t offset)
                __func__,                                       \
                #expr);                 }STMT_END
 
-#endif
-
 #define i_unreached() \
        i_panic("file %s: line %d: unreached", __FILE__, __LINE__)
 
@@ -313,3 +311,5 @@ static inline const char *container_of_ptr(const void *ptr, size_t offset)
    sizeof check. */
 #  define ENUM_NEGATE(x) ((unsigned int)(~(x)))
 #endif
+
+#endif