Add const attribute for dysize.
authorAndreas Jaeger <aj@suse.de>
Wed, 23 Aug 2000 07:22:12 +0000 (07:22 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 23 Aug 2000 07:22:12 +0000 (07:22 +0000)
time/time.h

index 9178d5f..edf34fb 100644 (file)
@@ -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