about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-23 07:22:12 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-23 07:22:12 +0000
commitbe2623ae79d7d9dcce9e41c04eb96da98bd3b33c (patch)
tree433dd786a5b56cb97a70ebae78f47a243bc5f2a5 /time
parent24c7f4c14bc1fa62e9599c3acc98cf76c2bef8be (diff)
downloadglibc-be2623ae79d7d9dcce9e41c04eb96da98bd3b33c.tar.gz
glibc-be2623ae79d7d9dcce9e41c04eb96da98bd3b33c.tar.xz
glibc-be2623ae79d7d9dcce9e41c04eb96da98bd3b33c.zip
Add const attribute for dysize.
Diffstat (limited to 'time')
-rw-r--r--time/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/time.h b/time/time.h
index 9178d5f2da..edf34fb7e1 100644
--- a/time/time.h
+++ b/time/time.h
@@ -273,7 +273,7 @@ extern time_t timegm (struct tm *__tp) __THROW;
 extern time_t timelocal (struct tm *__tp) __THROW;
 
 /* Return the number of days in YEAR.  */
-extern int dysize (int __year) __THROW;
+extern int dysize (int __year) __THROW  __attribute__ ((__const__));
 # endif