X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-rtnl.h;h=b5aa634d05e48344d121fb514b502c94866871b9;hb=3fb2c57038cf8dad396421989f43697fcf4ac4a4;hp=9059ed4ddf39aee971f20f878fe1a931f52a0b5e;hpb=f4e884dd1c4cc4bc6d5f068f96b14ceda46f3962;p=elogind.git diff --git a/src/systemd/sd-rtnl.h b/src/systemd/sd-rtnl.h index 9059ed4dd..b5aa634d0 100644 --- a/src/systemd/sd-rtnl.h +++ b/src/systemd/sd-rtnl.h @@ -40,7 +40,7 @@ typedef struct sd_rtnl_message sd_rtnl_message; typedef int (*sd_rtnl_message_handler_t)(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata); /* bus */ -int sd_rtnl_open(sd_rtnl **nl, uint32_t groups); +int sd_rtnl_open(sd_rtnl **nl, unsigned n_groups, ...); sd_rtnl *sd_rtnl_ref(sd_rtnl *nl); sd_rtnl *sd_rtnl_unref(sd_rtnl *nl);