Go to the documentation of this file.00001 #ifndef foogccmacrohfoo
00002 #define foogccmacrohfoo
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00027 #include <avahi-common/cdecl.h>
00028 
00029 AVAHI_C_DECL_BEGIN
00030 
00031 #if defined(__GNUC__) && (__GNUC__ >= 4)
00032 #define AVAHI_GCC_SENTINEL __attribute__ ((sentinel))
00033 #else
00034 
00035 #define AVAHI_GCC_SENTINEL
00036 #endif
00037 
00038 #ifdef __GNUC__
00039 #define AVAHI_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
00040 #else
00041 
00042 #define AVAHI_GCC_PRINTF_ATTR(a,b)
00043 #endif
00044 
00046 #define AVAHI_GCC_PRINTF_ATTR12 AVAHI_GCC_PRINTF_ATTR(1,2)
00047 
00049 #define AVAHI_GCC_PRINTF_ATTR23 AVAHI_GCC_PRINTF_ATTR(2,3)
00050 
00051 #ifdef __GNUC__
00052 #define AVAHI_GCC_NORETURN __attribute__((noreturn))
00053 #else
00054 
00055 #define AVAHI_GCC_NORETURN
00056 #endif
00057 
00058 #ifdef __GNUC__
00059 #define AVAHI_GCC_UNUSED __attribute__ ((unused))
00060 #else
00061 
00062 #define AVAHI_GCC_UNUSED
00063 #endif
00064 
00065 AVAHI_C_DECL_END
00066 
00067 #endif