summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-12 20:13:49 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-30 10:35:26 +0200
commitf2ef78d2086890159ab7e808998b0ae79ab38888 (patch)
tree0db3a43ad29442b342ee385bfeb321d23b1b32b0 /src
parentTurn mempool_enabled() into a weak symbol (diff)
downloadsystemd-f2ef78d2086890159ab7e808998b0ae79ab38888.tar.xz
systemd-f2ef78d2086890159ab7e808998b0ae79ab38888.zip
sd-netlink: remove sd_ prefix from static function
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/sd-netlink/netlink-message-nfnl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-message-nfnl.c b/src/libsystemd/sd-netlink/netlink-message-nfnl.c
index 9b24f74042..6f32167772 100644
--- a/src/libsystemd/sd-netlink/netlink-message-nfnl.c
+++ b/src/libsystemd/sd-netlink/netlink-message-nfnl.c
@@ -277,7 +277,7 @@ int sd_nfnl_nft_message_del_setelems_begin(
return r;
}
-static int sd_nfnl_add_data(sd_netlink_message *m, uint16_t attr, const void *data, uint32_t dlen) {
+static int add_data(sd_netlink_message *m, uint16_t attr, const void *data, uint32_t dlen) {
int r;
r = sd_netlink_message_open_container(m, attr);
@@ -305,12 +305,12 @@ int sd_nfnl_nft_message_add_setelem(
if (r < 0)
return r;
- r = sd_nfnl_add_data(m, NFTA_SET_ELEM_KEY, key, klen);
+ r = add_data(m, NFTA_SET_ELEM_KEY, key, klen);
if (r < 0)
goto cancel;
if (data) {
- r = sd_nfnl_add_data(m, NFTA_SET_ELEM_DATA, data, dlen);
+ r = add_data(m, NFTA_SET_ELEM_DATA, data, dlen);
if (r < 0)
goto cancel;
}