]> git.proxmox.com Git - mirror_frr.git/blobdiff - pceplib/pcep_timers.c
Merge pull request #12195 from anlancs/fix/ospfd-missing-max-metric
[mirror_frr.git] / pceplib / pcep_timers.c
index bbf9b77983a697f77e0d0ffc746a6704b468236f..61fda163637e9721444025fab98fb81998eef0e0 100644 (file)
@@ -197,7 +197,7 @@ void free_all_timers(pcep_timers_context *timers_context)
 }
 
 
-bool teardown_timers()
+bool teardown_timers(void)
 {
        if (timers_context_ == NULL) {
                pcep_log(
@@ -252,7 +252,7 @@ bool teardown_timers()
 }
 
 
-int get_next_timer_id()
+int get_next_timer_id(void)
 {
        if (timer_id_ == INT_MAX) {
                timer_id_ = 0;
@@ -413,7 +413,7 @@ bool reset_timer(int timer_id)
                /* Keeping this log for now, since in older versions of FRR the
                 * timer cancellation was blocking. This allows us to see how
                 * long the it takes.*/
-               pcep_log(LOG_DEBUG, "%s: Reseting timer [%d] with callback",
+               pcep_log(LOG_DEBUG, "%s: Resetting timer [%d] with callback",
                         __func__, timer_to_reset->timer_id);
                timers_context_->timer_cancel_func(
                        &timer_to_reset->external_timer);