OSDN Git Service

libparted: don't use _GL_ATTRIBUTE_CONST in public parted.h, ...
authorJim Meyering <meyering@redhat.com>
Sun, 8 Jan 2012 19:43:26 +0000 (20:43 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 8 Jan 2012 19:43:26 +0000 (20:43 +0100)
commitd51bfc0bf33680e55cd528eac427573dad4e54e9
tree426920173e47b676b73193245c4a6a31d0536534
parent5ce39625c2619346b2ec5ea650159f3093a63009
libparted: don't use _GL_ATTRIBUTE_CONST in public parted.h, ...

Instead, use the bare __attribute__((__const__)).
* include/parted/parted.h (__attribute): Define.
(ped_get_version): Use open-coded __attribute.
Prompted by a report from Keshav P R.
include/parted/parted.h