X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Feealloc.h;h=02cd7925e1817b87a677c17d25a85a3b1550f821;hb=969fe755730d23ba7ff21ae7511f66067d0a94d8;hp=c81b16e3f7b02ba76994865a8f90b6d97c686f9c;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/eealloc.h b/lib/eealloc.h index c81b16e3f..02cd7925e 100644 --- a/lib/eealloc.h +++ b/lib/eealloc.h @@ -1,5 +1,5 @@ /* Memory allocation with expensive empty allocations. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Bruno Haible , 2003, based on prior work by Jim Meyering. @@ -34,6 +34,9 @@ #if MALLOC_0_IS_NONNULL # define eemalloc malloc #else +# if __GNUC__ >= 3 +static inline void *eemalloc (size_t n) __attribute__ ((__malloc__)); +# endif static inline void * eemalloc (size_t n) {