X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcc-compat.h;h=ba1d82ead77ac6ae937a15a4e691ba8afc2f21b2;hp=ffd714f7c7c36a085e24d20e2ecd0a680af0406a;hb=e65bdaa6b207d5cd409acaa5d0d33fe85dd7a28d;hpb=18483260c9f20ed4a79a9aa146d46e81b99c3e6e;ds=sidebyside diff --git a/gcc-compat.h b/gcc-compat.h index ffd714f7..ba1d82ea 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -9,6 +9,7 @@ * the number of the first variadic parameter. */ # define __printf(p,q) __attribute__ ((format (printf, p, q))) +# define __a_const __attribute__ ((const)) /* * as direct use of __printf(p,q) confuses doxygen, here are two extra macros * for those values p,q that are actually used by paraslash. @@ -23,3 +24,4 @@ # endif #define _static_inline_ static inline +