Skip to content

Commit 80405df

Browse files
committed
fix incorrect application of attribute((const))
1 parent 07fe804 commit 80405df

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/libc/include/time.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ __BEGIN_DECLS
3030

3131
clock_t clock(void);
3232

33-
double difftime(time_t time1, time_t time0)
34-
__attribute__((__const__));
33+
double difftime(time_t time1, time_t time0);
3534

3635
time_t mktime(struct tm *tmp);
3736

0 commit comments

Comments
 (0)