From ace74051ebdadd2d6d428948af1982543149ae79 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 9 Jan 2012 19:11:23 +0100 Subject: parted.h: use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE in VC'd files However, we will replace those strings with their expansions when installing them. * include/parted/parted.h: Revert part of commit v3.0-83-gd51bfc0. --- include/parted/parted.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/parted/parted.h b/include/parted/parted.h index dff6dca..fbcb9aa 100644 --- a/include/parted/parted.h +++ b/include/parted/parted.h @@ -43,10 +43,7 @@ extern "C" { #include #include -extern const char *ped_get_version () -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) - __attribute ((__const__)); -#endif +extern const char *ped_get_version () _GL_ATTRIBUTE_CONST; extern void* ped_malloc (size_t size); extern void* ped_calloc (size_t size); -- cgit v1.2.1