gccmacro.h
Go to the documentation of this file.
00001 #ifndef foogccmacrohfoo
00002 #define foogccmacrohfoo
00003 
00004 /* $Id: gccmacro.h 931 2005-11-06 15:00:43Z lennart $ */
00005 
00006 /***
00007   This file is part of avahi.
00008  
00009   avahi is free software; you can redistribute it and/or modify it
00010   under the terms of the GNU Lesser General Public License as
00011   published by the Free Software Foundation; either version 2.1 of the
00012   License, or (at your option) any later version.
00013  
00014   avahi is distributed in the hope that it will be useful, but WITHOUT
00015   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00016   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
00017   Public License for more details.
00018  
00019   You should have received a copy of the GNU Lesser General Public
00020   License along with avahi; if not, write to the Free Software
00021   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00022   USA.
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


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21