]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Removed unused GNUC_FUNCTION* macros.
authorTimo Sirainen <tss@iki.fi>
Sun, 21 Mar 2010 23:45:11 +0000 (01:45 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 21 Mar 2010 23:45:11 +0000 (01:45 +0200)
--HG--
branch : HEAD

src/lib/macros.h

index 1b90ee7446a73a82a3d5cf830c4179282e79f910..51480fa1827e2566e82f1f0314413947c7461d8f 100644 (file)
 #  define COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE(_a, _b) 0
 #endif
 
-/* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with
-   macros, so we can refer to them as strings unconditionally. */
-#ifdef __GNUC__
-#  define GNUC_FUNCTION __FUNCTION__
-#  define GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__
-#else
-#  define GNUC_FUNCTION ""
-#  define GNUC_PRETTY_FUNCTION ""
-#endif
-
 #if __GNUC__ > 2
 #  define unlikely(expr) __builtin_expect(!!(expr), 0)
 #  define likely(expr) __builtin_expect(!!(expr), 1)