From 25ac34ab64c3554e3ec641080e48b4ed6904c440 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 18 Dec 2009 17:40:44 +0100 Subject: [PATCH] removed local definition of _DBUS_GNUC_PRINTF, it is already in dbus-macro.h --- dbus/dbus-sysdeps.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index c8daa25ae..50998f04c 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -27,40 +27,6 @@ #include -/** - * @addtogroup DBusSysdeps - * - * @{ - */ - -/* The idea of this file is to encapsulate everywhere that we're - * relying on external libc features, for ease of security - * auditing. The idea is from vsftpd. This also gives us a chance to - * make things more convenient to use, e.g. by reading into a - * DBusString. Operating system headers aren't intended to be used - * outside of this file and a limited number of others (such as - * dbus-memory.c) - */ - -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) -#define _DBUS_GNUC_PRINTF( format_idx, arg_idx ) \ - __attribute__((__format__ (__printf__, format_idx, arg_idx))) -#define _DBUS_GNUC_NORETURN \ - __attribute__((__noreturn__)) -#else /* !__GNUC__ */ -#define _DBUS_GNUC_PRINTF( format_idx, arg_idx ) -#define _DBUS_GNUC_NORETURN -#endif /* !__GNUC__ */ - -/** @def _DBUS_GNUC_PRINTF - * used to tell gcc about printf format strings - */ -/** @def _DBUS_GNUC_NORETURN - * used to tell gcc about functions that never return, such as _dbus_abort() - */ - -/** @} */ - #include #include #include -- 2.47.3