summaryrefslogtreecommitdiff
path: root/lib/frrevent.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-23 07:37:28 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:37:21 -0400
commit02e701e49e90e7b0f2d9332b54210507f965669f (patch)
tree539267b6a9e87a6feed4d5ea1e258e7a638112db /lib/frrevent.h
parent24a58196ddcff2215d382d8a677c2dcdc898e03c (diff)
*: Fixup formatting issues due to reordering
All the event changes exposed a bunch of places where we were not properly following our standards. Just clean them up in one big fell swoop. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/frrevent.h')
-rw-r--r--lib/frrevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/frrevent.h b/lib/frrevent.h
index b05885a985..2b0c52bb51 100644
--- a/lib/frrevent.h
+++ b/lib/frrevent.h
@@ -110,7 +110,7 @@ struct event {
struct event_timer_list_item timeritem;
struct event **ref; /* external reference (if given) */
struct event_loop *master; /* pointer to the struct event_loop */
- void (*func)(struct event *); /* event function */
+ void (*func)(struct event *e); /* event function */
void *arg; /* event argument */
union {
int val; /* second argument of the event. */
@@ -130,7 +130,7 @@ struct event {
#endif
struct cpu_event_history {
- void (*func)(struct event *);
+ void (*func)(struct event *e);
atomic_size_t total_cpu_warn;
atomic_size_t total_wall_warn;
atomic_size_t total_starv_warn;