Skip to content

Commit 5b35f19

Browse files
committed
mctpd: make on_dbus_peer_removed static
It's only used in the single unit. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
1 parent a92976b commit 5b35f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mctpd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3370,7 +3370,7 @@ static int method_net_learn_endpoint(sd_bus_message *call, void *data,
33703370
return rc;
33713371
}
33723372

3373-
int on_dbus_peer_removed(sd_bus_track *track, void *userdata)
3373+
static int on_dbus_peer_removed(sd_bus_track *track, void *userdata)
33743374
{
33753375
struct ctx *ctx = userdata;
33763376
size_t i, msg_types = ctx->num_supported_msg_types;

0 commit comments

Comments
 (0)