aboutsummaryrefslogtreecommitdiffstats
path: root/include/inttypes.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-17 02:09:54 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-17 02:09:54 +0200
commitc5fff98a6b144deb338e70a909f1efcb03dd44ad (patch)
tree71bd6c1165c5cc8c256a9713d35cb49da7a4a79c /include/inttypes.h
parentfix errors (diff)
downloadslibc-c5fff98a6b144deb338e70a909f1efcb03dd44ad.tar.gz
slibc-c5fff98a6b144deb338e70a909f1efcb03dd44ad.tar.bz2
slibc-c5fff98a6b144deb338e70a909f1efcb03dd44ad.tar.xz
improve attributes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/inttypes.h')
-rw-r--r--include/inttypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 4dffb86..5272ebc 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -43,7 +43,7 @@
* the remainder in `.rem`.
*/
imaxdiv_t imaxdiv(intmax_t, intmax_t)
- __GCC_ONLY(__attribute__((const)));
+ __GCC_ONLY(__attribute__((__const__)));
/**
* Return the absolute value of an integer.
@@ -57,7 +57,7 @@ imaxdiv_t imaxdiv(intmax_t, intmax_t)
* @return The absolute value of the integer.
*/
intmax_t imaxabs(intmax_t)
- __GCC_ONLY(__attribute__((const)));
+ __GCC_ONLY(__attribute__((__const__)));