Skip to content

Commit 3c6f030

Browse files
committed
calendarspec: drop _pure_ from static function
For static functions the compiler should be able to determine this on its own, let's not add needless decorators.
1 parent 80b1999 commit 3c6f030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/calendarspec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ int calendar_spec_normalize(CalendarSpec *c) {
165165
return 0;
166166
}
167167

168-
_pure_ static bool chain_valid(CalendarComponent *c, int from, int to, bool end_of_month) {
168+
static bool chain_valid(CalendarComponent *c, int from, int to, bool end_of_month) {
169169
assert(to >= from);
170170

171171
if (!c)

0 commit comments

Comments
 (0)