diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-09 19:11:23 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 19:11:23 +0100 |
commit | ace74051ebdadd2d6d428948af1982543149ae79 (patch) | |
tree | 5a27ca40a6be8cb3fc014dfd351a8386d0ef1ab1 /include | |
parent | b81cf3d3d63c5aaf7422ff689fd665b694351f47 (diff) | |
download | parted-ace74051ebdadd2d6d428948af1982543149ae79.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/parted/parted.h | 5 |
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); |