dovecot-2.0: Removed unused GNUC_FUNCTION* macros.

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 22 01:46:21 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/399f855035bc
changeset: 10966:399f855035bc
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 22 01:45:11 2010 +0200
description:
Removed unused GNUC_FUNCTION* macros.

diffstat:

 src/lib/macros.h |  10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diffs (20 lines):

diff -r 1bb98ad1af8b -r 399f855035bc src/lib/macros.h
--- a/src/lib/macros.h	Sun Mar 21 18:12:24 2010 +0200
+++ b/src/lib/macros.h	Mon Mar 22 01:45:11 2010 +0200
@@ -168,16 +168,6 @@
 #  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)


More information about the dovecot-cvs mailing list