treewide nitpick: remove extraneous semicolons

Detected by -Wpedantic
parent f121fe55
......@@ -424,7 +424,7 @@ static inline int kr_dname_lf(uint8_t *dst, const knot_dname_t *src, bool add_wi
}
dst[0] = len;
return KNOT_EOK;
};
}
/* Trivial non-inline wrappers, to be used in lua. */
KR_EXPORT void kr_rrset_init(knot_rrset_t *rrset, knot_dname_t *owner,
......
......@@ -136,7 +136,7 @@ As almost all the functions are optional, the minimal module looks like this:
#include "lib/module.h"
/* Convenience macro to declare module API. */
KR_MODULE_EXPORT(mymodule);
KR_MODULE_EXPORT(mymodule)
Let's define an observer thread for the module as well. It's going to be stub for the sake of brevity,
......
......@@ -35,4 +35,4 @@ const kr_layer_api_t *bogus_log_layer(struct kr_module *module)
return &_layer;
}
KR_MODULE_EXPORT(bogus_log);
KR_MODULE_EXPORT(bogus_log)
......@@ -97,4 +97,4 @@ struct kr_prop *cookies_props(void)
return prop_list;
}
KR_MODULE_EXPORT(cookies);
KR_MODULE_EXPORT(cookies)
......@@ -378,5 +378,5 @@ const kr_layer_api_t *dnstap_layer(struct kr_module *module) {
return &_layer;
}
KR_MODULE_EXPORT(dnstap);
KR_MODULE_EXPORT(dnstap)
......@@ -73,5 +73,5 @@ const kr_layer_api_t *edns_keepalive_layer(struct kr_module *module)
return &_layer;
}
KR_MODULE_EXPORT(edns_keepalive);
KR_MODULE_EXPORT(edns_keepalive)
......@@ -682,6 +682,6 @@ struct kr_prop *hints_props(void)
return prop_list;
}
KR_MODULE_EXPORT(hints);
KR_MODULE_EXPORT(hints)
#undef VERBOSE_MSG
......@@ -119,4 +119,4 @@ int nsid_deinit(struct kr_module *module) {
return kr_ok();
}
KR_MODULE_EXPORT(nsid);
KR_MODULE_EXPORT(nsid)
......@@ -473,6 +473,6 @@ struct kr_prop *stats_props(void)
return prop_list;
}
KR_MODULE_EXPORT(stats);
KR_MODULE_EXPORT(stats)
#undef VERBOSE_MSG
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment