summaryrefslogtreecommitdiffstats
path: root/lib/sockunion.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-14 11:56:25 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-01-14 13:33:57 +0100
commit54929fd38a352bd8096383a7aa65cc89e0c8ab0c (patch)
tree3e3329dcf5951b154f01259c339cf2e91627cfe2 /lib/sockunion.c
parentlib: add `%pTH` / `%pTHD` for printing thread info (diff)
downloadfrr-54929fd38a352bd8096383a7aa65cc89e0c8ab0c.tar.xz
frr-54929fd38a352bd8096383a7aa65cc89e0c8ab0c.zip
*: use semicolon after printfrr_ext_autoreg_{p,d}
Mostly to make clang-format not format these to peak ugly. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/sockunion.c')
-rw-r--r--lib/sockunion.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c
index c7af458e9..006ac142a 100644
--- a/lib/sockunion.c
+++ b/lib/sockunion.c
@@ -662,7 +662,7 @@ void sockunion_init(union sockunion *su)
memset(su, 0, sizeof(union sockunion));
}
-printfrr_ext_autoreg_p("SU", printfrr_psu)
+printfrr_ext_autoreg_p("SU", printfrr_psu);
static ssize_t printfrr_psu(struct fbuf *buf, struct printfrr_eargs *ea,
const void *ptr)
{
@@ -752,7 +752,7 @@ int sockunion_is_null(const union sockunion *su)
}
}
-printfrr_ext_autoreg_i("PF", printfrr_pf)
+printfrr_ext_autoreg_i("PF", printfrr_pf);
static ssize_t printfrr_pf(struct fbuf *buf, struct printfrr_eargs *ea,
uintmax_t val)
{
@@ -775,7 +775,7 @@ static ssize_t printfrr_pf(struct fbuf *buf, struct printfrr_eargs *ea,
return bprintfrr(buf, "AF_(%ju)", val);
}
-printfrr_ext_autoreg_i("SO", printfrr_so)
+printfrr_ext_autoreg_i("SO", printfrr_so);
static ssize_t printfrr_so(struct fbuf *buf, struct printfrr_eargs *ea,
uintmax_t val)
{