summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/parted/parted.h5
1 files changed, 1 insertions, 4 deletions
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 <stdlib.h>
#include <string.h>
-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);