]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
calendarspec: drop _pure_ from static function
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Apr 2020 11:19:14 +0000 (13:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 May 2020 06:57:14 +0000 (08:57 +0200)
For static functions the compiler should be able to determine this on
its own, let's not add needless decorators.

src/shared/calendarspec.c

index 7da3fb7211d5b1fd187f6d0ee4c3454a5355f997..65afcd058194733b2104fcef0124d578dab38055 100644 (file)
@@ -165,7 +165,7 @@ int calendar_spec_normalize(CalendarSpec *c) {
         return 0;
 }
 
-_pure_ static bool chain_valid(CalendarComponent *c, int from, int to, bool end_of_month) {
+static bool chain_valid(CalendarComponent *c, int from, int to, bool end_of_month) {
         assert(to >= from);
 
         if (!c)