This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] sys/cdefs.h: export __attribute_alloc_size__


On Monday 31 December 2012 05:06:59 Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > This requires a slight tweaking of the name (add trailing
> > underscores).
> 
> Why?

sticking to the existing naming convention.  from sys/cdefs.h:

# define __attribute__(xyz)     /* Ignore */
# define __attribute_malloc__ __attribute__ ((__malloc__))
# define __attribute_pure__ __attribute__ ((__pure__))
# define __attribute_const__ __attribute__ ((__const__))
# define __attribute_used__ __attribute__ ((__used__))
# define __attribute_noinline__ __attribute__ ((__noinline__))
# define __attribute_used__ __attribute__ ((__unused__))
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
# define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x)))
# define __attribute_artificial__ __attribute__ ((__artificial__))
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]